1 reply [Last post]
elgwiedo
Offline
newbie
Ghent
Last seen: 3 years 42 weeks ago
Ghent
Timezone: GMT+1
Joined: 2009-10-21
Posts: 3
Points: 6

Hi

I have created a vertical menu using CSS, but when loading the pages, the images are initally not (vertically aligned). When browsing the other pages, finally the images are properly aligned.
Where do I have to look at . I do not use any scaling of the images.

Some CSS code

.rf #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 100px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 15px 0px 15px 00px;
}
 
.rf #sidebar1 #mainmenu {
 
	background-color: #FFFFFF;
	}
 
.rf #mainmenu ul {
	margin: 0px;
	border: 0px;
	overflow:visible;
	background-color: #FFFFFF;
	list-style:none;	
	}	
 
 
.rf #mainmenu ul li {
	padding : 10px 0px 0px 0px;
	}

Stomme poes
Stomme poes's picture
Offline
Elder
Netherlands
Last seen: 7 years 46 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2008-02-04
Posts: 1854
Points: 378

Your code contains no images.

Your code contains no images.

What are we supposed to do with that bit of CSS code?

I'm no expert, but I fake one on teh Internets