css

div border not surrounding content

HI i want to give my div's some border but when i do a box is created with all the borders but the contents of teh div are not surrounded!! Any suggestions? ...

CSS sliding doors & sprites with tabbed navigation - not looking so tabbed

Hey, I'm trying to get this nav working nicely: http://www.moreheadplanetarium.org/redesign/nav.html I can't figure out why the background image of the "current" tab is extending behind the span of the link. It doesn't do this on the other states (normal and hover) - I've tested it with different images on those states because you can...

Getting the full url for an image in webpage

I would like to get the full url of an image in a web page. The image is used as a background image. I was using Firebug's inspect feature. In the CSS view, it shows url(/images/myimage.gif) for the background-image element. Is there a way to display the full url? ...

ASP.net style sheet + postion of web controls

I am a novice at website building. I downloaded a free css from a website and applied it to my project. Here's a screen shot http://www.csstemplatesweb.com/wp-content/uploads/wpsc/product%5Fimages/get%5Feducated%5Fscr.jpg. I dragged and dropped some ASP web controls(buttons and labels) on the page(using absolute positioning) from the ...

DHTML popup window

I am trying to make a DHTML window on my website and I can actually get it to popup for me. The problem I am having with it is when it pops up it moves the text around on the page. I have seen examples of DHTML popups where this doesn't occur for instance here: http://dhtmlpopups.webarticles.org/basics.php or here: http://www.php-devel...

CSS: getting an unwanted 1px extra height per DIV table element in Safari

I have an issue with a table containing three cells in one row. Two of these (left and right) have fixed width/height and should display an image (or shrink to 0 when no image is present). The middle cell takes the remaining space withing the fixed total with of the table. The problem: now I end up with 3px of extra space by which the '...

CSS: 2 DIVs, one takes a fixed size, other one fills up the remaining space

I have 2 DIVs, one containing a map, this one is above the other one. It should take all space available, except for the footer, which is 25px high. Currently I give the map 95% of the height, and the footer 25px. Problem is when the windows gets really big, the footer becomes enormousness, and when the windows becomes really small, scr...

Images aren't in correct places.

Problem Sorted. Thanks. ...

form submit button moves cutting image

Hi I have a submit button and am styling it using the following css: .subm { background-color:Transparent; background-image:url(Images/Button_Send.png); background-repeat:no-repeat; width:82px; height:30px; display:block; border:none; outline:none; overflow:visible;} .subm:hover { background-color:Transparent; backgrou...

How to use our custom font on our website

How to use a stylish font on my website that works on all browsers ...

Overlaying with CSS

I want to load a website in an iframe, and overlay the website with some hints about the website that is shown. However, i got stuck at the point that the website has a variable passive white space at the left and right site (just like in stackoverflow). This means that i cannot position the overlays absolute or relative to the div the...

Chrome and Safari Hack

Hello, I have the following style: table.jqTransformTextarea td#jqTransformTextarea-mm textarea{ margin:0; } This works as expected in Firefox, Opera, Internet Explorer 7,8 and 6. However, to make it work in Chrome and Safari I need to do: table.jqTransformTextarea td#jqTransformTextarea-mm textarea{ margin:10px 0 0 10px; }...

CSS Hover attribute on sub-element rather than entire element

Hopefully this makes sense - my html is as follows html <a href="#" class="someclass">An <span class="sub">Interesting</span> Link</a> where the css is simply color information. What I'd like to do is to make it so when you mouseover the link as a whole only the "sub" information is affected by the hover attribute. While this would b...

How to create an email mailing list

Im creating a coming soon page for a website im developing, and im adding an option for the user to enter their email address so we can email them when the site is up. How do I do this? ...

How to make a <div> always full screen?

No matter how its content is like. Is it possible to do this? ...

Can we make Print button without JavaScript?

Can we make Print button without JavaScript? to open browser print window. ...

Horizontal scrollbar past the min-width point

HTML: <div id="mcolWrapper"> <div id="mcol"> <div class="wrapper"> content </div> </div> </div> <div id="lcol"> <div class="wrapper"> content </div> </div> <div id="rcol"> <div class="wrapper"> content </div> </div> CSS: #mcolWrapper { float: left; width: 100%; } #mcol { ma...

printer friendly page or print CSS....?

Is it better to make separate printer friendly page with "Click to print button" on main page or only print CSS is enough for accessibility and usability point of view? ...

Programatically separate stylesheet into sub-stylesheets?

Say you have a massive stylesheet with a full site worth of selectors, each loaded with properties in it (positioning, sizing, fonts, colors, etc... all together) and you want to separate them into different, appropriate files (e.g. fonts.css, colors.css, layout.css, etc..).. Are there any known (automated) methods for completing such ...

How to dynamically create CSS class in JavaScript and apply?

I need to create a CSS stylesheet class dynamically in JavaScript and assign it to some HTML elements like - div, table, span, tr, etc and to some controls like asp:Textbox, Dropdownlist and datalist. Is it possible? It would be nice with a sample. ...