Old 15-03-2004, 14:33   #1 (permalink)
beseku
Senior Member
 
Join Date: Jun 2003
Location: Exmouth Market, London
Posts: 100
Send a message via AIM to beseku Send a message via MSN to beseku Send a message via Yahoo to beseku
HTML to CSS

Guys, a quick one.

Working on my Dissertation, and I am converting inline style values to CSS.

Currently, i have to skip align in blcok level elements, (ie DIV or table) because as far as i know align cannot be applied to a block level element.

I have come accross a HTML attribue "marginheight" and similarly "marginwidth". What the hell do these do? And what is the CSS equivalent?

Cheers.
__________________
ben.
http://www.beseku.com
  Reply With Quote
Old 15-03-2004, 15:33   #2 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,736
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Old 15-03-2004, 15:55   #3 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
Quote:
Originally Posted by beseku
Currently, i have to skip align in blcok level elements, (ie DIV or table) because as far as i know align cannot be applied to a block level element.
That's the wrong way round isn't it? Align can be attributed/declared to block level elements but NOT inline elements.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 16-03-2004, 04:31   #4 (permalink)
Stickman
Dr. Lucien Sanchez
 
Stickman's Avatar
 
Join Date: Mar 2003
Location: UK
Posts: 5,527
As far as css goes: vertical-align can be applied to inline elements (eg an image) and text-align can be applied to block level elements.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8