Re: [css-d] Float a link inside a header

2008-02-20 Thread Nick Mavros
Thanks Matt, the "position: relative; and position: absolute; " solution works fine. thanx Nikos Matthew Taylor wrote: > Hi Nikos, > > Try positioning the a tag to the absolute top right corner of the heading > block instead. Here's how that's done: > > h1 { > position:relative; > } > > h1 a {

Re: [css-d] Float a link inside a header

2008-02-20 Thread Nick Mavros
Hi Georg, your solution does the alignment but I don't like this wide link. It works in FF,IE,Opera, Safari. Anymore suggestions? Nikos Gunlaug Sørtun wrote: > Nick Mavros wrote: > >> Title subtitle >> >> I want the Title to be left aligned and the subtitle to

[css-d] Float a link inside a header

2008-02-20 Thread Nick Mavros
Hi, the html is this : Title subtitle I want the Title to be left aligned and the subtitle to right aligned. But I want them to be in the same line. When I float: right the it goes to the right but it falls below the line. So I need to put a negative margin to get it to the same line with t

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Nick Mavros
Kevin J Pledger wrote: > Nick, > > Tried this and white background disappeared and still no image. > > Very frustrating .. > > Will keep on reading and trying. > > Thanks for your input. One always keeps learning.. > > Regards, > > Kevin > Maybe you got the url wrong. The url you are using url

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Nick Mavros
Kevin J Pledger wrote: > ... > > After looking at various pages and trying to understand the different types > of coding, I put in this line ( background : url(images/mt2.jpg) #fff; ) and > as I thought it wasnt visible. When the #fff is removed the image appears, > but breaks the page. I want to

Re: [css-d] Problem with images and floats

2007-01-18 Thread Nick Mavros
Drew Trusz wrote: > Why is the p fixed at 160px? If you remove that you can center without > a problem. The text will adjust to the width set by the image in FF2, > Opera 9 and IE6 (don't have 7 on this machine). > > drew Yes it works in all those browsers and in IE7 but... The is fixed at 160px

Re: [css-d] Problem with images and floats with example

2007-01-18 Thread Nick Mavros
~davidLaakso wrote: > _*Set the width rather than the height of the image that you float*_. And > since the images are different widths, create a ruleset for each image. > Something like this: > css > div#container { width: 580px;border: 1px solid #000;float: left;padding: > 10px; } > div.im

Re: [css-d] Problem with images and floats with example

2007-01-18 Thread Nick Mavros
Take a look at this http://www.zefxis.gr/files/example.html I want the 3 images to "float: left". In FF they do. In IE6 & IE7 they don't. See for yourself. It's like the that contains them has a 100% width. The rules that causes the problem are: "margin: 0 auto;" that i have placed for the "mar

[css-d] Problem with images and floats

2007-01-16 Thread Nick Mavros
Ok guys take a look to the following structure: I want the to "float: left" but I don't want to give it a width value. I want it to take its width value from the inside it. But I also want the and the to be centered inside the div. If I put "margin: 0 auto;" to the and the (the has "