css

Fluid width layout using CSS

I am trying to put together a page that has a header that spans accross the page. the header contains menu items and looks something like this (ASCII rendering below) <------ Fixed Width ----------> <----------- Variable Width (Depends on Screen Width) --> -------------------------------------------------------------------------------...

Problem positioning a logo and a banner in Firefox using CSS

I want to use CSS in Firefox to display a logo and a flash banner on my website. The logo should be 250 X 250 and the banner 800 X 250. Both should be displayed in the same row. Here's my current CSS: #logo{ background:#FFFFFF; position:absolute; left: 0px; top: 0px; width: 250px; height: 200px; } #Banner{ ...

using position:absolute to set an inputs width

A simple yet annoying one - I am tryign to set an input[type=text] width by using absolute positioning (ie right:10px;left:10px) yet I cant get it to play ball. Does anyone have a solution to kick it into shape? ...

adjust list style image position

is there a way to adjust the position of list-style-image ? when i use padding for list items the image will stay at its position and wont move with padding... ...

browser default style

Hi, do you know where can i get the browser stylesheet? I try to explain me better. I need to know the default style properties that the browser applies to elements (not a specific browser). Is there a web site that talks about this? If not, have you got any idea of how to get those informations in javascript? I don't want to do an appli...

CSS and Firefox

When I use the folowing CSS code on Firefox, I get a gap between the banner and the top of the screen. How can I avoid this? #container1 { position:absolute; left: 0px; right: 0px; width: 1000px; height: 255px; margin: 0; } #logo1 { background:#FFFFFF; margin: 0; border: 1px solid red; position:absolute; left:...

make div's height expand with its content

Hi all, I have these nested Divs and I need the main container to expand (in height) to accomodate the DIVs inside <!-- head --> ... <!-- /head --> <body class="main"> <div id="container"> <div id="header"> <!--series of divs in here, graphic banner etc. --> </div> <div id="main_con...

absolute position div with overflow hides on load (IE7+)

I have a header/wrapper layout where both div#header and div#wrapper are absolutely positioned, and on load i calculate the top property of the header and height property of the wrapper to ensure that the content is scrollable in the wrapper (overflow is set to auto). For some reason on IE7+, once the content has loaded and the calculati...

Can we use <body> in place of #container div ?

Can we give width and border to <body> and use in place of Container div? see this example see source code of this file and code of file is also perfectly W3C valid. and looking same in IE 7 and firefox 3.5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns=...

IE6 positioning issue

Here is the CSS...how can I make it layout as it should in IE6? .AuthorName_Pic { width:186px; position:absolute; right:0px; bottom:-120px; padding:20px 10px 20px 15px; margin:20px 0px 0px 0px; background:url(images/ThumbDark.jpg) no-repeat; z-index:100; } ...

Why are some images rendering on IE6 and some are not?

the images are showing up in safari and firefox but not IE6. I have four images, two of them are showing up in IE6 and two are not. If it helps, they are being toggled with an if statement. suggestions? Here is an example of the code, there are four of these chunks: <div class="NavIcons"> <a href="h...

list-style not displaying for list elements despite !important?

Ok, I have a wordpress theme installed here (www.sullivansuccesscoaching.com/home ...we need the /home because there is still an index.html hiding the wordpress install. This is intentional). On the /home page I have a jquery cycle.lite running for the .animCont class which basically fades the slides using opacity changes. The ol, ul e...

Text not wrapping in label tag

Hi, How do you wrap text in a tag? I have set the width however text just continues to overflow the element. Thanks ...

Stacking HTML elements at the bottom of a container

I have a div (with a fixed width) that has 2 image elements as children. Each image is the same width as the div so the images are placed not on the same row (see screenshot) . This is great, but I want the images to displayed the same way (one on top of the other) but at the bottom of the div. I'm able to achieve such behavior in so...

jquery and the style properties

where can i get informations how styles are written in jquery. for example it is not the normal way z-index it is zIndex... and so on.. fontWeight.. ...

positioning text/image with a border

Learning html/css, having trouble with positioning text and or images within a border on a page exactly where i want them. I'm first trying to stack them underneath each other vertically, but i dont know how to move each box underneath, at the moment they are stacking horizontally until they go over the max width, what do i do? HTML: <...

jquery curvy corners on table & full page div tag?

Hi, I am using the jquery curvy corners plugin I can get this working on a div tag, but as most of the content is empty, and the width/height is 90% of the page the corners are only rounded at the top. Also when trying to round the corners of a table this doesnt work, is it possible? <div id="content" class="content"> <table id="nav_l...

Displaying same image multiple times at different locations in a web page using JavaScript or CSS

I’m looking to create a web page with 6 coupons on it, two per line in a web space of 1275 X 1650. Each coupon space will consist of a different image. The problem is I will be creating 20 such web pages that will have these coupons on them. Now some of the same images will appear in different locations/positions on the various web pages...

IE Positioning Help.

I’m currently working on this theme : http://tf.ffffffive.com/fancy/ I just need a few pointers on how to get it working in IE6 and IE7 . -The positioning is a bit off. -If you guys have a helpful blog post of maybe give me a hand with some CSS coding I would really appreciate it. Also the Javascript scrolling effect isn't working co...

Styling QPushButton with CSS?

I'm trying to create a QPushButton that's just got an icon and a constant background color. So that I can swap out the icon when the user clicks it, without any other apparent effects (this is for a roll-up/roll-down feature). I've added an entry like this to my stylesheet: QPushButton.ToggleButton { background-color: #8af; } and...