You are here: Re: Inline Styles - Img Height, Width, Align? « HTML « IT news, forums, messages
Re: Inline Styles - Img Height, Width, Align?

Posted by Jonathan N. Little on 02/13/07 14:59

simonkey88@hotmail.com wrote:
> Hello,
>
> My knowledge of CSS is very limited. I'm attempting to create a
> fundraising web page on the Active.com web site. Unfortunately, they
> have a very rigid template that appears to be defined by a style
> sheet. I simply want to add an image to my page with the following
> code:
>
> <img src="myimage.jpg" height="400" width="300" align="center">
>
> However, when I add this code my image shows up aligned right and is
> squished into a size that might be 200x100. So it seems the site has
> set the style of all images to a certain size.


Not according to the stylesheet for Active.com, they are not styling IMG
at all. How about a URL to the actual page your are struggling with and
we can see what is going on specifically with that page.

BTW: IMGs are inline elements by default there is no attribute
'align="center"' for IMGs.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация