---
title: "IE och FF med checkbox i tabell"
type: "forum-thread"
url: "https://www.webforum.nu/amne/dotnet/123376-ie-och-ff-med-checkbox-i-tabell"
topic: ".NET"
topic_url: "https://www.webforum.nu/amne/dotnet"
author: "clarkbones"
published: "2005-02-28T00:07:58.000Z"
updated: "2005-02-28T11:37:46.000Z"
replies: 1
views: 243
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/dotnet/123376-ie-och-ff-med-checkbox-i-tabell"
---

# IE och FF med checkbox i tabell

## #1 — clarkbones, 2005-02-28T00:07Z

Hej!

Har en sida där det finns en tabell som har en cell. I cellen finns det två checkboxar.  De skall visas på varsin rad. Tabellen är lite bredare än  checkboxarna. Om jag inte anger \<BR\> efter den första ser allt bra ut i IE, men i FF så hamnar de delvis på samma rad (texten på den andra checkboxen radbryts). Lägger jag till \<BR\> så ser texten bra ut i FF, men i IE blir det en extra rad.  Bifogar en bild hur det ser ut utan BR-tagg. Hur kan jag få det att se bra ut i både IE och FF?

Så här har jag gjort:

```

<asp:TableCell>
<asp:CheckBox runat="server" Width="180px" AutoPostBack="True" ID="chkSverige" Height="12px" 
Text="Enter Sverige" CssClass="textlabel"></asp:CheckBox>

<asp:CheckBox runat="server" Width="180px" AutoPostBack="True" TabIndex="1" 
ID="chkSverigeFokus" Height="12px" 
Text="Enter Sverige Fokus" CssClass="textlabel"></asp:CheckBox>

</asp:TableCell>
```

Bilagor:

- [check.jpg](https://www.webforum.nu/a/5700.jpg)

Permalänk: https://www.webforum.nu/p/123376

## #2 — renholm, 2005-02-28T11:37Z

Kan du inte testa att använda CheckBoxList? Kanske löser problemet åt dig...

Permalänk: https://www.webforum.nu/p/1563767

---

Tråden på webben: https://www.webforum.nu/amne/dotnet/123376-ie-och-ff-med-checkbox-i-tabell
