css

need suggestions on jquery plugin for rounded corners

I wanted to learn about jquery plugins, so I decided to try to make a simple rounded corner box. I know there are already some rounded corner plugins out there, but this is more of a learning exercise for me than a job requirement. The rounded corners I took from here. I like this sample since it doesn't use images, it will be easy to ...

CSS not loading in Firefox

I have a web page I am testing in both IE and FF. It works perfectly in IE but the style sheets will not load in Firefox. Has anyone else experienced this type of issue with Firefox ? Also note that this is only on my dev workstation loading the files locally... Here is the header section of the html file: <head> <link rel="stylesh...

How do I make IE6 respect the class attribute?

Long time reader, first time poster asks: After many weeks of google and forum trawling, I am still at a loss. I have a series of nested divs, some with ids, some with classes, and some with ids and classes. It's XHTML strict, and validates. Original code http://www.drewsonne.com/melonstack/?topic=brisbane eg. <div id="main"> <div...

XHTML: Why is my nested UL invalid?

The following menu works really fine in the browser, but I cant get it to validate as XHTML. I took this example out of my CSS Book. It says it is right, but seemingly it is not. <ul id="leftNavi"> <li> <a href="#" class="SCL">left menu1</a> </li> <li class="SCNL">left menu2</li> <ul id="subnavi"> <li> <a href="#" ...

[CSS] Layer doesn't stretch to height of containing image

See http://www.martenminkema.nl The layers of each entry only gain the height of the text that it contains. The height of the image isn't taken into account, resulting into troubles with some layout markup in some cases. html: <div id="entry-296" class="hentry entry gedachten"> <a href="http://www.martenminkema.nl/gedachten/2009/06/au...

Why are my images all over sized?

Hello all, I have just setup a wordpress forum and I find that all images are just over sized, Why is this the case? http://rasaasa.com/forum/ Also how can I fix this? Thanks all ...

Hiding/Unhiding Control in Gridview’s column - shifting problem

This is a follow up to my previous question: link text In gridview's column i have a linkbutton and a label under it. I want to hide/unhide label when linkbutton is clicked. I use javascript because i don't want any postbacks. The code: protected void gvwComments_RowDataBound(object sender, GridViewRowEventArgs e) { if (e....

How do you deal with both percentage- and pixel-based sizes in one element in CSS?

Specifically, I am referring to a situation where you need to have a total width of say 100% on a DIV, but a 10 pixel padding and 1 pixel border. (And don't rely on the browser automatically setting it to that width — say it's floated left for instance.) Is there any simple way to accomplish this without using JavaScript? ...

Difference between @import and link in CSS

I'm learning some CSS to tweak my project template. I come to this problem and didn't find a clear answer on the web. Is there a difference between using @import or link in CSS? Use of @import <style type=”text/css”>@import url(Path To stylesheet.css)</style> Use of Link <link rel=”stylesheet” type=”text/css” href=“Path To styleshee...

Vertically align floating divs

I am trying to float two divs with different font-sizes. I can't find a way to align the text on the same baseline. Here is what I have been trying: <div id="header"> <div id="left" style="float:left; font-size:40px;">BIG</div> <div id="right" style="float:right;">SMALL</div> </div> ...

Float Creates Overlapping Divs

Hi Everyone: I have two divs (one inside of the other) and am running into a bit of a problem when I float the one inside to "left". The problem is that the outer div doesn't expand its height to fit the text inside of the inner div. Since this is probably pretty confusing, I'll try to explain it with some code. HTML: <body> <div id...

position a div to the right of a centered div?

I have a which is in the center of my page, but now i need to add a div which will be to the right of the center box, i am sure you can do this with CSS but can't think of a solution. So for example div#container{margin-left: auto;margin-right: auto;width: 396px;display:block;margin-top: 110px;} the div i need would be the same as tha...

Problem with page in IE - please help!

Hi I have built a site in wordpress and the home page is really screwed up in IE, but works fine in FF, Chrome and Safari. I have a conference call in 5 hours and I need it to be fixed and would be very grateful if someone could help. The site is http://www.fullygreen.com and the core issues are:- red box around first menu item men...

Is there any way other than javascript to fix IE 6 bugs ?

For IE 6 we have plenty of bugs to bug us as a designer. incorrect box model etc etc. i have searched for fixes via JavaScript and found [link text][1] IE7.js IE7 is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work co...

CSS can't correctly align tabbed menu

Hi! Could you please help me to fix my menu in IE7. The code is: <ul id="layer1"> <li id="current" > <span><a href="/">Главная</a></span> </li> #menu { margin-left:150px; } #menu ul#layer1 { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0 auto; padding:0; } #menu ul#layer1 li { backgro...

Getting Transparent PNG to work in IE 6 in img tag

Hi, I have a png with transparent background that doesn't work in IE 6. I have gotten round the problem by replacing the few img tags using that image with a DIV, and in CSS I use: #div {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="./Images/img.png")} the problem I have with this is that I then lose alt and title a...

JQuery append closing div tag only

Hello, I am building a "universal wrapper" for several different external sites that would build a nav and footer with jquery and xml. My problem: Since the script will be used on multiple sites that were built by other people, I need to build a container out just inside the opening and closing body tags. I have been able to target t...

How to position many DIVs in CSS

I have gone through a long tutorial on W3Schooles to learn CSS; I learnt some basics but still miss my primary aim: Positioning DIVs This is what I'm trying to do *---------*---------* * * * * * * *---------*---------* My goal is simple and trivial for some, but I'm having headaches doing this the righ...

Anyone used CSS blueprint with Sharepoint sites

Anyone used the blueprint (http://www.blueprintcss.org/) with Office Sharepoint server publishing sites? If yes, what do you think? Any catches or problems ? does it really save time and make it easy to make the site working fine cross browsers? ...

How to make a floated <div> use its maximum width

I have a simple layout with content floated-left and a fixed-positioned menu on the right. It works well for any of my pages that have enough content in the 'content' div so that the div grows to it's maximum width. However I have a couple pages that don't have enough text for the div to grow to its maximum size. The HTML: <div id="f...