CSS alignment

Reply

Join Date: Nov 2006
Posts: 33
Reputation: lochii is an unknown quantity at this point 
Solved Threads: 0
lochii lochii is offline Offline
Light Poster

CSS alignment

 
0
  #1
Feb 24th, 2008
How can i get everything in my site aligned? i used to use tables years ago and use the <CENTER> tag dont work with CSS below is a screenshot of how it looks at the minute...

http://i5.photobucket.com/albums/y16...websiteimg.gif
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 97
Reputation: plgriffith is an unknown quantity at this point 
Solved Threads: 6
plgriffith plgriffith is offline Offline
Junior Poster in Training

Re: CSS alignment

 
0
  #2
Feb 24th, 2008
I copied that into my browser and just got a blank screen.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 33
Reputation: lochii is an unknown quantity at this point 
Solved Threads: 0
lochii lochii is offline Offline
Light Poster

Re: CSS alignment

 
0
  #3
Feb 25th, 2008
sorry dont know what happened the last screenshot, below is the correct one...

http://i5.photobucket.com/albums/y16...ii/gowleft.gif
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 483
Reputation: DangerDev has a spectacular aura about DangerDev has a spectacular aura about 
Solved Threads: 58
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Pro in Training

Re: CSS alignment

 
0
  #4
Feb 25th, 2008
use div container and set css text-align property of it.
Freedom in the Mind, Faith in the words.. Pride in our Souls...
Indian Developer
http://falaque.wordpress.com/
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 33
Reputation: lochii is an unknown quantity at this point 
Solved Threads: 0
lochii lochii is offline Offline
Light Poster

Re: CSS alignment

 
0
  #5
Feb 25th, 2008
thanks danger i'll look into that container tag, still gettin to gips with CSS ^^
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: CSS alignment

 
0
  #6
Feb 26th, 2008
To center an image (or other block object) you would use something like:

HTML and CSS Syntax (Toggle Plain Text)
  1. .centered {
  2. display: block;
  3. margin-left: auto;
  4. margin-right: auto
  5. }

HTML and CSS Syntax (Toggle Plain Text)
  1. <IMG class="centered" src="..." alt="..." />
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC