Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Centering inline elements

Reply
Thread Tools

Re: Centering inline elements

 
 
Mark Parnell
Guest
Posts: n/a
 
      09-15-2004
On Tue, 14 Sep 2004 20:18:35 -0700, Aeden Jameson <>
declared in alt.html:

> I'm having a horrible time centering inline elements in IE 6.


text-align: center;

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004
 
Reply With Quote
 
 
 
 
Aeden Jameson
Guest
Posts: n/a
 
      09-15-2004
The problem is that I Don't want to center everything in the header and the
text-align attribute is set in the parent element of the inline tag you want
to center.

Cheers,
Aeden

Cheers,
Aeden
"Mark Parnell" <> wrote in message
news:zjt7kqv4empg.fbv67b6lvzuh$....
> On Tue, 14 Sep 2004 20:18:35 -0700, Aeden Jameson <>
> declared in alt.html:
>
> > I'm having a horrible time centering inline elements in IE 6.

>
> text-align: center;
>
> --
> Mark Parnell
> http://www.clarkecomputers.com.au
> "Never drink rum&coke whilst reading usenet" - rf 2004



 
Reply With Quote
 
 
 
 
Neal
Guest
Posts: n/a
 
      09-15-2004
On Wed, 15 Sep 2004 07:20:14 -0700, Aeden Jameson <> wrote:

> The problem is that I Don't want to center everything in the header and
> the
> text-align attribute is set in the parent element of the inline tag you
> want
> to center.


content in that.
IT to text-align: center, and put the centered
create a div which sits inside the header and set
Then instead of applying center to the .header,
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centering text inside a <header> with two other elements Ian HTML 21 04-06-2012 04:14 PM
Problem centering UL and LI elements Newbie HTML 37 02-09-2011 06:59 PM
Tool which expands implicitly inline inline functions tthunder@gmx.de C++ 3 06-16-2005 12:54 AM
To inline or not to inline? Alvin C++ 7 05-06-2005 03:04 PM
inline or not to inline in C++ Abhi C++ 2 07-03-2003 12:07 AM



Advertisments
 



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 44 45 46 47 48 49 50 51 52 53 54 55 56 57