Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-04-2008, 07:50 PM   PM User | #1
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
valign bottom?

I was just trying to vertical align my bottom left image, i eventually did it using Clear:both;
but now it goes right of the bottom of the page?!


http://jbiddulph.com/cv.htm

Code:
#bottomleftpic {
background-color:#FFFFFF;
margin-top:23px;
float:left;
clear:right;
background-image:url(../img/bottomleft.jpg);
background-repeat:no-repeat;

width:209px;
height:362px;
}
any anyone please help?
jarv is offline   Reply With Quote
Old 08-04-2008, 09:43 PM   PM User | #2
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
Please help!
jarv is offline   Reply With Quote
Old 08-04-2008, 09:52 PM   PM User | #3
BoldUlysses
Regular Coder

 
BoldUlysses's Avatar
 
Join Date: Jan 2008
Location: Winston-Salem, NC
Posts: 938
Thanks: 10
Thanked 190 Times in 187 Posts
BoldUlysses is on a distinguished road
Where exactly do you need that image to be? Flush with the bottom of the footer? Below the navigation?
__________________
matt | design | blog
BoldUlysses is offline   Reply With Quote
Old 08-04-2008, 10:05 PM   PM User | #4
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
the bottom of the picture level with the footer but about 10px of white below the footer.
jarv is offline   Reply With Quote
Old 08-04-2008, 10:11 PM   PM User | #5
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
try adding this, it messes up in FF so i cant tell if it hurts or helps

Code:
* {
margin:0px;
padding:0px;
}
jcdevelopment is offline   Reply With Quote
Old 08-04-2008, 10:11 PM   PM User | #6
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
validate first and post when you are finished. is hard to fix if markup is invalid:

http://validator.w3.org/check?verbos...h.com%2Fcv.htm

regards
oesxyl is offline   Reply With Quote
Old 08-04-2008, 10:48 PM   PM User | #7
ninnypants
Regular Coder

 
ninnypants's Avatar
 
Join Date: Apr 2008
Location: Utah
Posts: 504
Thanks: 10
Thanked 47 Times in 47 Posts
ninnypants is an unknown quantity at this point
It's because the #mainarea of your page is floated so when you put the "clear:right" you image could no longer stay where it was it was forced to move down below the #mainarea
ninnypants is offline   Reply With Quote
Old 08-04-2008, 10:55 PM   PM User | #8
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
ok so I changed it but now it's stil isn't aligned to the bottom?!

why is my background not white anymore?! I nee dto put a float:left; on my #Table_01
jarv is offline   Reply With Quote
Old 08-04-2008, 10:58 PM   PM User | #9
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by jarv View Post
ok so I changed it but now it's stil isn't aligned to the bottom?!

why is my background not white anymore?! I nee dto put a float:left; on my #Table_01
did you fix markup errors?

regards
oesxyl is offline   Reply With Quote
Old 08-04-2008, 11:04 PM   PM User | #10
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
I would fix them but I don't understand what is wrong with: Line 84, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 8 and div.

</div>

and

Line 84, Column 5: end tag for element "div" which is not open.

</div>
jarv is offline   Reply With Quote
Old 08-04-2008, 11:12 PM   PM User | #11
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by jarv View Post
I would fix them but I don't understand what is wrong with: Line 84, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 8 and div.

</div>

and

Line 84, Column 5: end tag for element "div" which is not open.

</div>
tags must be pair, if you have <div> must have somewhere </div> to close it.
use a editor with pair match highlight.

Edit: usualy the validator show more error then are, so you must start from top, fix one line and revalidate until you finish

regards

Last edited by oesxyl; 08-04-2008 at 11:16 PM..
oesxyl is offline   Reply With Quote
Old 08-05-2008, 09:35 AM   PM User | #12
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
can't find errors in my </div> and i still have the vertical align problem on the image at the bottom left of my site please can someone help me?
jarv is offline   Reply With Quote
Old 08-05-2008, 09:53 AM   PM User | #13
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Originally Posted by w3-validator
Line 16, Column 18: document type does not allow element "div" here; assuming missing "body" start-tag.

<div id="Table_01">

Line 169, Column 5: end tag for element "div" which is not open.

</div>
These are pretty clear! aren't ?
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 08-05-2008, 03:46 PM   PM User | #14
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by jarv View Post
can't find errors in my </div> and i still have the vertical align problem on the image at the bottom left of my site please can someone help me?
- between </head> and <div id="Table_01"> must be <body>
- missing alt attribute at img tags.
- in few places you have </br> instead of <br />
- you have an </div> on line 185 but no <div>, remove it

that will fix markup errors.

after that you must clear the float's element but will see how after you make this changes.

regards
oesxyl is offline   Reply With Quote
Users who have thanked oesxyl for this post:
jarv (08-06-2008)
Old 08-06-2008, 08:44 AM   PM User | #15
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
thanks but how do i align the bottom left pic of me to the bottom?
jarv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:46 AM.


Advertisement
Log in to turn off these ads.