[css-d] Absolutely positioning an element in a parent with display:table-cell

2007-02-16 Thread Rafael Holt
Hello, Today I discovered a discrepancy between Opera and Firefox regarding display:table-cell. I tried to find some further info on the matter but didn't get much further than something (which I can't find any more) which said that the spec says that it's up to browser vendors whether table cells

Re: [css-d] Position:fixed - why relative to viewport and not containing block?

2007-02-08 Thread Rafael Holt
Oh dear, I messed up the URL, how embarrassing. http://raffles.awardspace.com/G/melbourne/2/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?pag

Re: [css-d] Position:fixed - why relative to viewport and not containing block?

2007-02-08 Thread Rafael Holt
Zoe wrote: > Users are used to things moving when you scroll, so I've never needed to change that. On 08/02/07, Barney Carroll <[EMAIL PROTECTED]> wrote: > > To be honest, I do see fixed elements as a bit of a flashy luxury - and > something that is often used irresponsibly to create cumbersome de

Re: [css-d] Splitting a list into two columns

2007-02-08 Thread Rafael Holt
On 08/02/07, Seona Bellamy <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Creating a sitemap for a client. However, they also want ti split over two columns so that it doesn't end up > just scrolling forever. Fair enough. However, since this is to plug into > their CMS, I need to allow for a variabl

Re: [css-d] Position:fixed - why relative to viewport and not containing block?

2007-02-08 Thread Rafael Holt
Zoe wrote: > What you are asking for *is* absolute positioning -- positioning one div > relative to another -- so why not just use absolute positioning? That > will allow your div to move along with the other div when the browser is > scrolled. > Switch your fixed div to absolute and it will do wh

[css-d] Position:fixed - why relative to viewport and not containing block?

2007-02-07 Thread Rafael Holt
Hello, I currently have a very fluid layout and would like something to have position:fixed but I want it to be 1em from the top of a certain div. The position of this div from the top of the viewport varies depending on what is above it. I realise it is impossible to have something fixed relative

Re: [css-d] css popups

2007-01-12 Thread Rafael Holt
On 12/01/07, Andy Harrison <[EMAIL PROTECTED]> wrote: > > I'm trying to use some simple CSS-based popups. Of the browsers I've > tested > it in, Firefox 1.5 works great, Opera 9 has trouble if I use a relative > div > with display:inline, and IE 6 doesn't work at all. My test page is at > test.dr

Re: [css-d] (Argh!) Why does the text in my nested DIV vanish off the bottom of the screen?

2007-01-09 Thread Rafael Holt
On 09/01/07, Christian Kavanagh <[EMAIL PROTECTED]> wrote: > > It annoys me so: > http://www.polarissc.com/csstest/directorlevelselling.html > > It's deadline day! Any help will be gratefully received. Hi, Add this to .core: margin-bottom:150px; That' ll solve your problem. However, the big p

Re: [css-d] Pitfalls of overflow

2006-12-22 Thread Rafael Holt
On 20/12/06, Barney Carroll <[EMAIL PROTECTED]> wrote: > > Hi Raf, > > This site is fantastic - there's loads of fantastic little bits of css > here I'd like to pull apart. The overflow selector for the drop-down > menu is very, very cool. > > Sadly this wouldn't work for me because I can't select

Re: [css-d] Ordered List Issue

2006-12-19 Thread Rafael Holt
On 19/12/06, Steve LaBadie <[EMAIL PROTECTED]> wrote: > > I have an unordered list with an image as the bullet and I want to nest > an ordered list with decimals inside. The problem is the image is > populating both list. How about ? Rafael ___

Re: [css-d] Pitfalls of overflow

2006-12-19 Thread Rafael Holt
On 19/12/06, Barney Carroll <[EMAIL PROTECTED]> wrote: > > I know this list isn't particularly keen on conceptual problems but I > have this notion that I can't conceive of without overflow on a > containing element which then comes round to bite me in the face. > > I have my two columns, navigatio

[css-d] The clip property - what's the logic behind it?

2006-12-18 Thread Rafael Holt
Hi all, I've been playing with clip recently and it seems to me the spec is a bit counter-intuitive. It is particularly irritating if you are clipping non-fixed width elements because if you don't want it to be clipped on the right, you have to specify its width for that value. Surely it would be

Re: [css-d] problem in floating a in tag

2006-12-15 Thread Rafael Holt
On 14/12/06, amir abbas <[EMAIL PROTECTED]> wrote: > > > 1- all forums are in tag and i have tag in that tag > this itself is contain two other tag > > please see this part of code > > > > > { > catrow.forumrow.FORUM_NAME} /> > {catrow.forumrow.FORUM_DESC} > {catrow.forumrow.L_MODERATOR} {

Re: [css-d] horizontal scrolling

2006-12-03 Thread Rafael Holt
On 04/12/06, Stephen Oravec <[EMAIL PROTECTED]> wrote: > > Is there any sites that scroll horizontal instead of vertical ? > > I tried one today just for the heck of it (had nothing better to do) > and was wondering where I might find some more info on it . > > or if its really worth it. > > my exa

Re: [css-d] selecting all divs

2006-11-26 Thread Rafael Holt
On 27/11/06, Ross Hulford <[EMAIL PROTECTED]> wrote: > > What is the selector for all divs? What do you mean? If you simply want to select all divs, do this: div {border:1px solid red;} It will give all divs a red border. The same goes for any element. The selector for an element is the element

[css-d] line-height issue with floated elements

2006-11-23 Thread Rafael Holt
Hi, I have a div whose children (some spans and another div) are floated left inside it. This is the site: http://raffles.awardspace.com/G/misc/ I am currently testing this in Firefox 1.5 only. It won't work in IE (probably will in Opera and Safari). Please select "custom" in the dropdown, enter

Re: [css-d] Floats for Form Labels -- vertical alignment

2006-11-23 Thread Rafael Holt
On 24/11/06, Stephan Wehner <[EMAIL PROTECTED]> wrote: > > I'm looking at the example for floating form labels at > > http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml > > and I find the labels get shifted up by a tiny amount. > > In the "The original form" section the "Na

Re: [css-d] building css buttons

2006-11-23 Thread Rafael Holt
On 24/11/06, Mario Merino (gmail) <[EMAIL PROTECTED]> wrote: > > Hello I want to include several CSS buttons on a site Im building. I have > looked at the following article > > http://www.webcredible.co.uk/user-friendly-resources/css/rollover-buttons.sh > tml but I would have to build the same amo

Re: [css-d] Fixing images in place when using image substitution and text-indent

2006-11-22 Thread Rafael Holt
On 23/11/06, Graham Anderson <[EMAIL PROTECTED]> wrote: > > Hi > > I have a menu where all the menu button text is being replaced with > images. > For some reason, when the browser text is resized, the "menu bar > text" images begin to move tooshifting to the right with each resize > > > BR

Re: [css-d] Problems dynamically styling DOM nodes in IE using Javascript

2006-11-15 Thread Rafael Holt
On 16/11/06, Wes Gamble <[EMAIL PROTECTED]> wrote: > > All, > > Does Element.setAttribute() work in IE? Do I need to address the > attributes > differently perhaps? > > > > newDiv = popup.document.createElement('div'); > newDiv.setAttribute ('id', 'pdf'); > newDiv

Re: [css-d] tricky position

2006-11-13 Thread Rafael Holt
On 09/11/06, Adam Helweh <[EMAIL PROTECTED]> wrote: > > Hello all, > I have only one snafu with this homepage design I have been working on. > > http://carlpritchard.secretsushi.com//homepage_template_dllist.html > > The "upcoming events" list needs to be designed so that the date and the > associa

Re: [css-d] Spotlight On CSS - Search Engine

2006-11-13 Thread Rafael Holt
On 08/11/06, Ben Smith <[EMAIL PROTECTED]> wrote: > > Spotlight On CSS - http://www.spotlightoncss.com > I've just created a CSS search engine which looks through a couple of > hundred quality CSS sites at the moment - I want to keep developing > it of course but would like to hear any feedback.

Re: [css-d] Beginner needs help

2006-11-13 Thread Rafael Holt
On 09/11/06, Christopher Blake <[EMAIL PROTECTED]> wrote: > 1. I want my page to sit centrally in the browser no matter whether > the browser expands or contacts. Maybe some type of container that > can contain my other elements? > I have played around with % positioning but when 2 elements are ne

Re: [css-d] Can't figure this out - Center a div with variable width

2006-11-03 Thread Rafael Holt
On 01/11/06, Mark Wheeler <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is this even possible? (I'm sure it is, but I still feel pretty new > to css) - Can you have a div (content) centered inside another div > (container) BUT, the content div's width may be different because of > content (thus you ca

Re: [css-d] Alternating row colors in table?

2006-10-30 Thread Rafael Holt
On 28/10/06, Fred Janon <[EMAIL PROTECTED]> wrote: > > How to get alternating row colors in a table or a list? > > I know of solutions with Javascript but I am looking for something that > would be done with CSS only, I don't want to have to have a class for > the even rows (or odd). Now that we ha

Re: [css-d] declarations and embedded items

2006-10-27 Thread Rafael Holt
On 27/10/06, Ross Hulford <[EMAIL PROTECTED]> wrote: > > I have this. > > > > > > > item 1 > item2 > > > > > > > > > > what is the correct way to change the ul properties without effecting > other properties. > > #header #holder #nav {

[css-d] nostalgia

2006-10-26 Thread Rafael Holt
Hello, Please look at this page, where the area of focus is the blocks of thumbnails: http://raffles.awardspace.com/G/g3.php?album=misc The CSS is in this file: http://raffles.awardspace.com/G/g.css As you can see, they are all floated left so that they appear next to each other and should the l

[css-d] Small issue with dynamic displaying of box

2006-10-04 Thread Rafael Holt
Hi, I'm using some simple javascript to hide and then show a box using document.getElementById('box').style.display. In Firefox it works perfectly, but in IE the box appears in the main content area until you hover over it. I'm pretty sure this isn't a javascript issue but more of an "IE is rubbi