Images and CSS
Posted: 28 August 2005 03:06 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  201
Joined  09-01-2004

I’m wondering what CSS I can use to automatically force the posted section (“Posted by” etc.) down below the image in posts like this.

The CSS for posted sections is:

.posted {
color
: #000000;
text-align: left;
padding-top: 5px;
padding-bottom: 19px;
font: 11px "lucida grande", verdana, arial, sans-serif;
}

The CSS for the image in that post is:

img {
margin
: 0px;
padding: 0px;
border: 0px;
}

.image_left {
margin
: 0px;
padding-right: 6px;
padding-top: 3px;
padding-bottom: 3px;
float: left;
}

Profile
 
 
Posted: 28 August 2005 03:08 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33269
Joined  05-14-2004

try:

.posted {
clear
: left;
}

You can google the clear thing to get more options. I think it has left, right, all, and both or something.  “clearing floats” is a useful search term.

 Signature 
Profile
MSG
 
 
Posted: 28 August 2005 03:17 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  201
Joined  09-01-2004

Thank you. That worked beautifully.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66386 Total Logged-in Users: 57
Total Topics: 84710 Total Anonymous Users: 12
Total Replies: 454675 Total Guests: 190
Total Posts: 539385    
Members ( View Memberlist )