Sun, 2011-10-02 03:12
Hi to all,
I have launch a promotional website for my business that will open 2012. It's only an one page image.
It's been too long that I design my last website. I had added a css code that hopefully will adjust itself to any browsers as a full page site. I don't think I did right. Anyone can offer advise? Thanks in advance.
Sun, 2011-10-02 15:45
#1
Set html {width: 100%;}, then
Set html {width: 100%;}, then do
<div><img src="sample.jpg" alt="..." width="100%"></div>
Delete the empty div. It is not valid for the body element to have an inline child, i.e. the image element. I used the div container as the block child body requires.
cheers,
gary
Sun, 2011-10-02 22:07
#2
How to adjust my website for all browers into full page?
Hi Gary, Thanks for your help
I did what you suggested. Please see how it looks.
bobbyduke.com
Thanks again
Mon, 2011-10-03 01:08
#3
Not quite there
Add this to your style element:
html { width: 100%; }
This
<div> <img src="Image.Aman22.jpg" alt="" width="100%"> </div>
Replaces this:
<img width="1320" height="844" alt="" src="Image/Aman22.jpg">
Visit http://htmldog.com/ and go through the tutorials in order. That will greatly improve your knowledge base.
cheers,
gary