/    Sign up×
Community /Pin to ProfileBookmark

Problem in Firefox with List Height

I’m having a problem getting my lists to resize correctly in Firefox. Which obviously means I’m not doing something right if it works in IE and not Firefox.

When resizing the text, when my text wraps to the next line, the block height doesn’t seem to adjust in Firefox and the text overlaps itself. I’d like for this page to be viewed in a reasonable amount of text sizes.

Any help is greatly appreciated.

[CODE]
#module {
width: auto;
margin-bottom: 10px;
padding: 2px;
background-color: #FFF;
border: 1px solid #65655f;
}

.moduleTitle {
font-weight: bold;
font-size: 1em;
width: auto;
height: 1.4em;
padding: 5px 0 0px 5px;
background-image: url(‘images/moduleHeader_background.jpg’);
background-repeat: repeat-x;
background-position: bottom left;
}

#module ul#moduleList {
margin: 0;
padding: 0;
list-style: none;
}

#module ul#moduleList a {
display: block;
height: 1.4em;
}

#module ul#moduleList a:link,
#module ul#moduleList a:visited {
background-color: #FFF;
color: #000;
}

#module ul#moduleList a:hover {
background-color: #00aeef;
color: #FFF;
text-decoration: none;
}[/CODE]

[code=html]
<div id=”module”>
<div class=”moduleTitle”>Admin Tools</div>
<div class=”moduleContent”>
<ul id=”moduleList”>
<li><a href=”#”>Manage User Group Profile</a></li>
<li><a href=”#”>Activate Users</a></li>
<li><a href=”#”>Manage User Accounts</a></li>
<li><a href=”#”>Manage Audiences</a></li>
<li><a href=”#”>Update Profile</a></li>
<li><a href=”#”>Change Password</a></li>
<li><a href=”#”>Manage Assignments</a></li>
<li><a href=”#”>Manage Change List</a></li>
</ul>
</div>
</div>
[/code]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 18.2006 — &lt;style type="text/css"&gt;
#module {
width: auto;
margin-bottom: 10px;
padding: 2px;
background-color: #FFF;
border: 1px solid #65655f;
}

.moduleTitle {
font-weight: bold;
font-size: 1em;
width: auto;
padding: 5px 0 0px 5px;
background-image: url('images/moduleHeader_background.jpg');
background-repeat: repeat-x;
background-position: bottom left;
}

#moduleList,
#moduleList li {
zoom: 1;
margin: 0;
padding: 0;
list-style: none;
}

#moduleList a {
display: block;
white-space: nowrap;
}

#moduleList a:link,
#moduleList a:visited {
background-color: #FFF;
color: #000;
}

#moduleList a:hover {
background-color: #00aeef;
color: #FFF;
text-decoration: none;
}
&lt;/style&gt;
Copy linkTweet thisAlerts:
@ray326Mar 18.2006 — Zoom? Where the heck do you find this stuff, Fang? ?
Copy linkTweet thisAlerts:
@FangMar 18.2006 — Zoom? Where the heck do you find this stuff, Fang? ?[/QUOTE] We are IE ?
Copy linkTweet thisAlerts:
@RezonauthorMar 23.2006 — Thanks Fang! ?
×

Success!

Help @Rezon spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...