Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 4, 2004, 2:47 pm
rate this thread
a 150 x 150 border despite the size of each image. What have I done wrong?
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
border: 2px solid #656051;
<div class="imgsmall"><a href="design_red_dress.php"><img
src="images/rtw_ladies.jpg" alt="Click here to see a larger image and
description." /></a></div><div class="imgsmall"><a
href="design_trouser_suit.php"><img src="images/rtw_mens.jpg" alt="Click
here to see a larger image and description."/></a></div>
Inline elements don't have widths as far as I know. But why
do you set display:inline to the divs? I guess you wanted to
display them horizontally, and have them take up the
available width of the window. What you need is float:left
instead of display:inline.
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
What do you mean by 150 x 150 border? Do you actually mean putting each
image inside a 150 by 150 pixels box?
To begin with, you didn't post a URL. Why should we try and construct a
test page, instead of looking at yours?
Those alt texts will act as _replacements_ of the images exactly how?
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
- » FTP uploads via browser takes path of desktop machine
- — Previous thread in » HTML Markup Language