HighDots Forums  

safari margins

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss safari margins in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alexander glomba
 
Posts: n/a

Default safari margins - 06-03-2008 , 11:29 AM






hi.. I need to center my webpage. It looks centered in firefox but not in safari..
here is the link

http://www.alexcas.com/portfolio.html

Reply With Quote
  #2  
Old   
(_seb_)
 
Posts: n/a

Default Re: safari margins - 06-03-2008 , 11:59 AM






alexander glomba wrote:
Quote:
hi.. I need to center my webpage. It looks centered in firefox but not in safari..
here is the link

http://www.alexcas.com/portfolio.html
OUCH you're using layout mode... The code is horrible.
anyways you should be able to center your table like this:


<table width="896" border="0" cellpadding="0" cellspacing="0" id="tdtableportfolio" align="center">

This is your first and only table at the top of your code. I added align="center".

But really you should not build your pages using layout mode. It generates bloated code, horrible
code that makes no sense, and you won;t learn a thing about html or css using layout mode...

--
seb (@webtrans1.com)

high-end web design: http://webtrans1.com

Sign-up for a free beta test of SiteLander, an ingenious website-builder:
http://webtrans1.com/sitelander/

music: http://myspace.com/popmodelberlin


Reply With Quote
  #3  
Old   
(_seb_)
 
Posts: n/a

Default Re: safari margins - 06-03-2008 , 11:59 AM



alexander glomba wrote:
Quote:
hi.. I need to center my webpage. It looks centered in firefox but not in safari..
here is the link

http://www.alexcas.com/portfolio.html
OUCH you're using layout mode... The code is horrible.
anyways you should be able to center your table like this:


<table width="896" border="0" cellpadding="0" cellspacing="0" id="tdtableportfolio" align="center">

This is your first and only table at the top of your code. I added align="center".

But really you should not build your pages using layout mode. It generates bloated code, horrible
code that makes no sense, and you won;t learn a thing about html or css using layout mode...

--
seb (@webtrans1.com)

high-end web design: http://webtrans1.com

Sign-up for a free beta test of SiteLander, an ingenious website-builder:
http://webtrans1.com/sitelander/

music: http://myspace.com/popmodelberlin


Reply With Quote
  #4  
Old   
SnakEyez02
 
Posts: n/a

Default Re: safari margins - 06-03-2008 , 12:42 PM



Actually, the CSS is why the table is not centered. It has nothing to do with
that extra HTML tag. You have the object absolutely positioned at 0 top 0
left. That means, regardless of the outside margin, it will go to the top
left. Take that out and it should be fine.

Also in regards to layout mode, if you plan on upgrading in the future, you
should get used to making tables without it because it is being discontinued as
of CS4.


Reply With Quote
  #5  
Old   
SnakEyez02
 
Posts: n/a

Default Re: safari margins - 06-03-2008 , 12:42 PM



Actually, the CSS is why the table is not centered. It has nothing to do with
that extra HTML tag. You have the object absolutely positioned at 0 top 0
left. That means, regardless of the outside margin, it will go to the top
left. Take that out and it should be fine.

Also in regards to layout mode, if you plan on upgrading in the future, you
should get used to making tables without it because it is being discontinued as
of CS4.


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 - 2008, Jelsoft Enterprises Ltd.