Mon, 2008-06-16 01:11
Hi, I'm new to CSS. I have the following code in my html:
I wish for these 3 images just to be aligned on one line: the first one to the left of the browser window, the 2nd one in the center, and the 3rd one to the right. What is the best way to do this? I should use CSS instead of correct?
Thanks
Mon, 2008-06-16 06:19
#1
Well as 'img' is an inline
Well as 'img' is an inline element in 'strict' dtd it should naturally do what you require unless you have constraints on the parent width which might force the images to wrap to a new line. You have provided only a snippet of code though so it's hard to advise further. Please check the posting guidelines as they explain what we need provided in order to help effectively.