[css-d] Centering an image

2006-07-29 Thread Indranil Dasgupta
Hello, Can someone please take a look at http://www.psdspy.com/britney_spears/1487.html I need the shadowed image to be aligned in the center, but can't seem to find a way to do it. Maybe because the container is float: left; Can someone please help me. Regards Indranil

Re: [css-d] Centering an image

2006-07-29 Thread Dave Goodchild
On 29/07/06, Indranil Dasgupta [EMAIL PROTECTED] wrote: Hello, Can someone please take a look at http://www.psdspy.com/britney_spears/1487.html I need the shadowed image to be aligned in the center, but can't seem to find a way to do it. Maybe because the container is float: left; Can

Re: [css-d] Centering an image

2006-07-29 Thread Indranil Dasgupta
Dave Goodchild wrote: On 29/07/06, Indranil Dasgupta [EMAIL PROTECTED] wrote: Hello, Can someone please take a look at http://www.psdspy.com/britney_spears/1487.html I need the shadowed image to be aligned in the center, but can't seem to find a way to do it. Maybe because the container

Re: [css-d] Centering an image

2006-07-29 Thread Gunlaug Sørtun
Indranil Dasgupta wrote: http://www.psdspy.com/britney_spears/1487.html I need the shadowed image to be aligned in the center, but can't seem to find a way to do it. Maybe because the container is float: left; Can someone please help me. Use ordinary block-centering. Add / adjust to...

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread Bart Zonneveld
Thanks a lot! Really helped me going in the right way. So far, I managed to get it all to work in Firefox. See http://20kmiles.dyndns.org/djtrx/ I'm developpig on a Mac now, so no chance to test anything in pc- browsers. And unfortunately it doesn't work yet in Safari. If there are any

Re: [css-d] Centering an image

2006-07-29 Thread [EMAIL PROTECTED]
Why float left? just use margin: auto in the flow -- Joel Goldstick www.columbuswebmakers.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub --

[css-d] Adjusting Padding on Relatively Positioned DLs

2006-07-29 Thread Rahul Gonsalves
Dear List, I'm converting (partly) a table built site to CSS. I'm trying to think as semantically as the in-house, hand-built CMS will allow me to, replacing content just stuck in table-rows into paragraphs, or definition lists, which is where I ran into some problems. Original Page:

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread Bart Zonneveld
So far, so good! Got it working in the browsers I can test it with, using the following strategy: div id=leftdivnbsp;/div/div div id=contentblabla/div div id=rightdivnbsp;/div/div html, body { height: 100%; } body { margin: 0 auto; padding: 0; position:

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread David Sharp
Bart Zonneveld wrote: Thanks a lot! Really helped me going in the right way. So far, I managed to get it all to work in Firefox. See http://20kmiles.dyndns.org/djtrx/ I'm confused - if there is no content in the right and left divs, then all this seems to be a lot of trouble. Why don't

[css-d] background pos x/y repeat-x/y

2006-07-29 Thread neal
Anyone ever notice that if you repeat-x a background image you can only background position that image on the y coordinate and vice versa - so when you repeat-y you can position x but the y is useless (defaults to 0). ?? __

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread Bart Zonneveld
On 29-jul-2006, at 17:19, David Sharp wrote: Bart Zonneveld wrote: Thanks a lot! Really helped me going in the right way. So far, I managed to get it all to work in Firefox. See http://20kmiles.dyndns.org/djtrx/ I'm confused - if there is no content in the right and left divs, then

Re: [css-d] Centering an image

2006-07-29 Thread Indranil Dasgupta
Gunlaug Sørtun wrote: Indranil Dasgupta wrote: http://www.psdspy.com/britney_spears/1487.html I need the shadowed image to be aligned in the center, but can't seem to find a way to do it. Maybe because the container is float: left; Can someone please help me. Use

Re: [css-d] background pos x/y repeat-x/y

2006-07-29 Thread Robert O'Rourke
[EMAIL PROTECTED] wrote: Anyone ever notice that if you repeat-x a background image you can only background position that image on the y coordinate and vice versa - so when you repeat-y you can position x but the y is useless (defaults to 0). ?? Isn't that kind of the point? Or did you want

[css-d] ie5.0 win list items

2006-07-29 Thread g
Hi All This is my first time posting to the list, so please be gentle with me! I have been having trouble styling a navigation list. Stripped down html and css: http://www.interstellarnoise.com/dcs/draft2.0/bugtest.html Screen captures: http://www.browsercam.com/public.aspx?proj_id=272556 It

Re: [css-d] background pos x/y repeat-x/y

2006-07-29 Thread Robert O'Rourke
[EMAIL PROTECTED] wrote: yes it does seem to make sense however it would be nice to be able to do and not add extra divs Thats true, I think the CSS3 border-image properties might go someway towards sorting that kind of thing out. Damn all this waiting...

[css-d] [ADMIN - OFF TOPIC] Re: google shok horror

2006-07-29 Thread Eric A. Meyer
At 10:45 AM +0100 7/28/06, Alex Robinson wrote: This thread will stop now. It has not only had no relevance to the reason for this list (the discussion of the practical use of CSS) but it has also seen a fair number of people spout off about their own particular ideological hobby horses. And

Re: [css-d] background pos x/y repeat-x/y

2006-07-29 Thread neal
At 10:22 AM -0500 7/29/06, [EMAIL PROTECTED] wrote: Anyone ever notice that if you repeat-x a background image you can only background position that image on the y coordinate and vice versa - so when you repeat-y you can position x but the y is useless (defaults to 0). There are no

Re: [css-d] ie5.0 win list items

2006-07-29 Thread Gunlaug Sørtun
g wrote: This is my first time posting to the list, so please be gentle with me! Of course :-) Welcome to this friendly list. http://www.interstellarnoise.com/dcs/draft2.0/bugtest.html It looks fine in just about every browser but ie5.0 for windows, where the first item in the list

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread David Sharp
Bart Zonneveld wrote: Maybe my explanation wasn't clear enough, so let me clarify :). I specifically want the left and right column to be as big as they can for the current browser window, while the center column should always be a fixed size. That way, on a small resolution, the

Re: [css-d] background pos x/y repeat-x/y

2006-07-29 Thread Robert O'Rourke
Eric A. Meyer wrote: There are no values such as 'repeat-down' or 'repeat-right', which is what I assume you're seeking. Is there going to be a feature like this in future at all? I can see it being useful, at least for the sake of completeness in the range of background properties

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread Bart Zonneveld
On 29-jul-2006, at 19:13, David Sharp wrote: Bart Zonneveld wrote: Maybe my explanation wasn't clear enough, so let me clarify :). I specifically want the left and right column to be as big as they can for the current browser window, while the center column should always be a fixed

Re: [css-d] Adjusting Padding on Relatively Positioned DLs

2006-07-29 Thread David Laakso
Rahul Gonsalves wrote: I'm converting (partly) a table built site to CSS. Original Page: http://rahulgonsalves.com/dump/ske/Navin/table-cv.html part-CSS built: http://rahulgonsalves.com/dump/ske/Navin/cv.html -- Rahul. I am sure someone else will fix your definition list. Text that is

[css-d] ie5.0 win list items

2006-07-29 Thread g
I suggest you try to add 'height: 1%;' to li#livelink, and see if that fixes it. Yep, that did the trick. Thanks for the assistance. Regards G __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d

[css-d] Is it possible to write custormized rules for firefox?

2006-07-29 Thread old9
Hi you guys, Like those rules with a -moz- prefix, is is possible to write a custormized rule like -my-rule: myValue; , which would be accessed through JavaScript later? It seem that firefox would chose to drop those unrecogonized rules, rather than ignore and maintain them in the DOM. BTW, I

Re: [css-d] 3 column, relative size of bg-images

2006-07-29 Thread David Sharp
I think the trick is that your middle column is fixed, so you need your left and right columns to be 50% of the available width, and have margins equal to half that in which the middle column will sit. Someone may have a more economical solution, and I'm not sure how this works cross