HighDots Forums  

Re: Centering Layers??

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Centering Layers?? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: Centering Layers?? - 08-05-2004 , 05:36 AM






peteneal wrote:

Quote:
Hi - I am trying to adopt new web standards and convert my existing table based
web sites to layers and css - what I want to know is how I can get a layer
positioned centrally on a web page under any browser dimensions!! any help
would be most apprecated - starting to pull my hair out a little!!!!

Pete,

Despite many skilled developers are using "layers" (the term is actually
"divs" or "divisions". "Layer" is solely a DW word for absoluetly
positioned divs), it's not the "new web standards". Tables are as valid
and there's nothing wrong what so ever to use them. Just ignore some
rather narrow minded people's dogma that "tables are for tabular data":
1) It's entirely up to you to put whatever you want in them. 2) Isn't
"data" text, images, etc?

So, I suggest you build your site the way you feel comfortable with,
i.e. tables, and get it online. Then, you can toy with CSS controlled
divs "on the side" to understand how they work. After that, you can
chose whichever path is most suitable for any individual project: divs,
tables or a combination.

BTW: To center a div, you'd need to warp a div around the entire
content. Make a search for e.g. "wrapper center" or something here:
http://www.proformica.com/google.html

--
Dan Vendel - *GOF*
Contact: http://www.proformica.com/en/contact.shtml
Formmail tutorial: http://www.proformica.com/en/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en/nested_table_demo.shtml
SEO: http://www.proformica.com/en/search_engine_optimization.shtml
SE Utility: http://www.proformica.com/en/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html


Reply With Quote
  #2  
Old   
peteneal
 
Posts: n/a

Default Re: Centering Layers?? - 08-05-2004 , 06:10 AM






thanks for the advice Dan, maybe i misled slightly in my wordings!!! I am just
keen to use divs (apologies for the predictable lay speak of "layers") more
than anything to exploit the speed capabilities which I believe I will gain,
and also the spidering capabilities, further i thinik it's going to give me a
bit more flexibility in page layout, which I am keen to exploit.....again many
thanks for the words.....(I won't be comepletly abandoning table design as
there are areas were tables are the only way, or make the page design easier!!!)

cheers p


Reply With Quote
  #3  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: Centering Layers?? - 08-05-2004 , 06:48 AM



peteneal wrote:
Quote:
thanks for the advice Dan, maybe i misled slightly in my wordings!!! I am just
keen to use divs (apologies for the predictable lay speak of "layers") more
than anything to exploit the speed capabilities which I believe I will gain,
and also the spidering capabilities, further i thinik it's going to give me a
bit more flexibility in page layout, which I am keen to exploit.....again many
thanks for the words.....(I won't be comepletly abandoning table design as
there are areas were tables are the only way, or make the page design easier!!!)

cheers p

yeah, you'll gain some speed, but not as much as many are lead to
believe: they only look at the much sleeker html page and tend to forget
that they instead might have a pretty massive css doc that need to
download, too.

As for spidering: There's no difference tables or divs, unless in one
case: SE spiders won't index more than the first 150Kb (I think that's
the limit) of a page. So if you have a large page exceeding that limit,
you can remove a few dozen <table>, <td> and <tr> tags and replace them
with <div> to make the spiders grab more of the actual content.

Good luck, though!

--
Dan Vendel - *GOF*
Contact: http://www.proformica.com/en/contact.shtml
Formmail tutorial: http://www.proformica.com/en/formmail_tutorial.shtml
Nested tables: http://www.proformica.com/en/nested_table_demo.shtml
SEO: http://www.proformica.com/en/search_engine_optimization.shtml
SE Utility: http://www.proformica.com/en/advanced_web_ranking.shtml
Search Dreamweaver newsgroup: http://www.proformica.com/google.html


Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.