Help with Valign="middle, but still valid

This is a discussion on "Help with Valign="middle, but still valid" within the Web Page Design section. This forum, and the thread "Help with Valign="middle, but still valid are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 7th, 2005, 06:41
New Member
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Help with Valign="middle, but still valid

I can't seem to get a simple solution to work, that is both working and w3c valid.
Problem:
"to make a 450px tall box center on any page/ monitor size and res."

If you look at these two examples >
http://www.sightdeezygn.com/dev3/

"test-a" does what I need done, but it only works with no document type therefore will not validate.
"test-b" Validates clean (with doc type Xhtml 1.0 trans)..

It seems to be one or the other ?
I really need this to work, If anyone can help I would be indebted. Please "Know" that your (if any) suggested fixes works or test it first. I have allready spent tons of time on this little "buggah"
so remember the solution needs to work and it needs to validate clean.
Reply With Quote

  #2 (permalink)  
Old Nov 7th, 2005, 09:03
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Help with Valign="middle, but still valid

I dont think a solution has ever been found to this.....

Vertically center a box on screen without tables using valid markup..... nope, can't be done currently cross browser, but I would LOVE to be proved wrong.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #3 (permalink)  
Old Nov 7th, 2005, 12:59
New Member
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Valign="middle, but still valid

Rob :
Thankz for the vote of confidence lol

Nobody said anything about it having to be "tableless"
I used one big fat table on each of the above mentioned examples.

I may have found a solution though, it happens to be tableless though

After I get some coffee down my gulet, I will try, if successful I will be back to post the solution I found (shortly I hope)
Reply With Quote
  #4 (permalink)  
Old Nov 7th, 2005, 20:38
New Member
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Valign="css wins out"

I just tested and felt my way around,
and it turns out (wanting to avoid them anyway) Tables were not the answer, at least not for me and this situation. I went with the just off center (-neg margin of 1/2 the page dimension) "absolute" positioning.

index-a.html:
http://sightdeezygn.com/dev3/test-a.html
No doc type, but the <tr vertically centers fine. But it wont validate with no doctype.
index-b.html:
http://sightdeezygn.com/dev3/test-b.html
Has a doc type and validates, but..
It breaks the vertical centering effect of valign="middle" in the table markup.
index-c.html:
http://sightdeezygn.com/dev3/index-c.html
Is not just valid xhtml 1.0,
but a css tableless solution tah boot!
Reply With Quote
  #5 (permalink)  
Old Nov 7th, 2005, 23:51
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Valign="css wins out"

Quote:
Originally Posted by ifunky2
http://sightdeezygn.com/dev3/index-c.html
Is not just valid xhtml 1.0,
but a css tableless solution tah boot!
shame about Mac IE though.... nice though!!

Maybe you should turn this into a tutorial and submit it to our articles section.... it would make a very nice addition.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #6 (permalink)  
Old Nov 7th, 2005, 23:58
New Member
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with Valign="middle, but still valid

Hmm "mac IE"
didn't view it in that
<-- busts out the old "bubble" imac
/hmm tutorial..... maybe web forumz would also like >>
http://www.sightdeezygn.com/if-blog/e1.html
http://www.sightdeezygn.com/if-blog/e2.html
/wonders where would they be posted? they need to be reskinned etc, what is the accepted format for a tut' submission?
Reply With Quote
  #7 (permalink)  
Old Nov 8th, 2005, 00:34
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Help with Valign="middle, but still valid

Hi... you can submit them in Standard HTML!

Maybe they need a little more explaination at the start... an introduction.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #8 (permalink)  
Old Nov 13th, 2005, 04:43
craig's Avatar
Reputable Member
Join Date: Sep 2005
Location: Preston, UK
Age: 21
Posts: 381
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to craig
Smile Re: Help with Valign="middle, but still valid

moojoo created something like this in css.
Take a look at his site,
http://www.moojoocreative.com/samples/centered_3_col/

and of course his design is Valid XHTML 1.0 Strict!
Nice!
Reply With Quote
Reply

Tags
help, valignquotmiddle, but, still, valid

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a "tag" system to find relevant "related" pages MrQuestions PHP Forum 3 Mar 20th, 2008 23:06
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09
valign="middle" help please Sym0n Web Page Design 1 Apr 30th, 2006 21:04


All times are GMT. The time now is 02:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43