css

Overiding custom CSS with another class

Hello, I'm having trouble establishing an "on" state for a tab of this menu. I ended up migrating from using UL and LI due to IE 6 issues with display. Am now using a table. Table works very well in target browsers with a rollover color bug in Opera but the rest are good. Thing is I need to have an "on" state for the loaded tab whe...

CSS visual flick

My CSS knowledge is very limited, so I'm putting my problem here hoping for the best. I'm using this box: http://www.456bereastreet.com/lab/flexible_custom_corners_borders/ in my website, and I need to display content in two columns format. I've attempted with the simple table, and using divs with float set (needed clearfix so the pare...

Marquee Text When Text Overflows

Hi all, well heres my problem. Lets say i have 3 div tags, all are 100pixels wide: <--- DIV WIDTH ---> Text in div 1 Text in div two, it overflows Text in div three <--- DIV WIDTH ---> Now, currently i have this css for the divs: width:100px; overflow:hidden; What i want to do is if the text overflows, it scrolls like a marquee so ...

HTML and CSS programming

I am working with the following code: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> td.one { align="center"; colspan="3"; bgcolor="lightgrey"; style="font-size:15px;font-weight:bold;" } </style> </head> <body> <table border="1" cellspacing=...

auto width of the error label

the error label displays till the width of the table. as this: how can i display it till the text of the label? this is the css: label.error { color: red; font-size:16px; font-family:Nyala; background-color: #FFFFCC; display:block; width:auto; } ...

CSS To Add Underline After Header Content

Problem I am working on a project to theme a website, but I am not allowed to change the HTML or JavaScript. I can only update the CSS stylesheet and add/update images. Requrements I need to style a h3 tag to have an underline/border after the content. This h3 will be used multiple times on the page, so the conent length can vary T...

How to force css borders to display on layered page?

Hello, I'm attempting to code Box and Whiskers graphs in html. The issue is, I have borders around a div (as in, the Box), but these borders disappear when overlaying the previous layer, which contains a banded color image. The preference is not to use a background image (or colors) here if I can avoid it. The html is: <table cellspac...

CSS2 DIV Presentation Issue

i need to create a page that has quotes side-by-side for a large number of rows. i am looking for a clean CSS2 presentation where the quotes of each row line up vertically and don't run below each other. also, i am looking for a solution with the least amount of code and preferably one that doesn't float DIVs and does utilize the displ...

How to imitate the native iPhone look and feel in a web app developed with the ASP.NET platform?

Hi, I'm planning to develop a web application that targets the iPhone. I will use APT.NET to develop the application. I will probably use ASP.NET MVC. I'm researching how I will imitate the native iPhone look and feel in my web application. I'm looking for an approach that will be easy to use with the ASP.NET platform. So far, I fou...

jQuery css() function changing 'a' property not 'a:hover' property

Hi, I'm having a bit of trouble with the jQuery css() function at the moment. It is changing the css value of the anchor element's border-top-color instead of just the anchor element's border-top-color when hovered. Below is my code. $("#header #headerlist li a:hover").css("border-top-color","rgb(225, 149, 79)"); Any ideas why it cha...

Why are my ul and ol lists not displaying properly in IE7?

Something seems to be breaking the display of lists (ul and ol) in IE7. They work fine in IE8, FF, Safari etc but not IE7 and IE6. I just want them to be displayed normally: ul lists should show bullet points and ol lists should show numbers. I've narrowed it down to the first 1000 lines of code in styles_layout.css... ;) Actually, I ...

Div vertical scrollbar show

Hello, I am wondering how its possible to permanently show the vertical bar of a div (greyed out if there is no scrolling) similar to our regular bars. Basically I am trying to place an entire website in a div (like gmail/facebook), so if the page is not long enough the whole page shifts because of the lack of the vertical scroll bar. ...

CSS: Div position:relative alignment problem

Hi guys, I have a problem about div position relative alignment. I want the second div to be fixed in position even if I remove the first div. The problem is that the second div adjusts its position when the first div is removed. My question is how can I retain the position of the second div even if I remove the first div? Thanks :) ...

IE8 won`t submit on enter when you have multiple forms

if you have 3 forms (shown below) and you set two of forms to not to display (display:none;) and you use javascript to toggle through each form, the forms that were set to hidden, when you set them to visible and you try to submit a form by pressing enter, it won`t submit. the only form that will submit if the first form that is visibl...

Floating another div next to a main centered div

Ok so I have a website and the entire thing is wrapped in a container. This container is centered with margin:auto. I would like to float a piece of content to the right of this centered container and have it sort of stick to the side of it no matter if the user resizes the browser window, etc. I'm wondering if there's a real simple way...

Why does an element styled with "height: 100%" appears to be > 100%?

I have a page where while the page loads, I put an absolute DIV over all of my content with "height:100%" that states "the page is loading...". However, it appears from the scrollbar that the height of the page is 100% + the height of the content. This immediately goes away once the page loads and the overlay absolute positioned DIV is...

JavaScript : Good tool to 'minify' jQuery based js files

Hi, We are using jQuery in our project. We have numerous custom javascript files in our web-app that have UDFs utilizing the jQuery features. We need to reduce the size (as a part of performance improvement activities) and I am looking for a reliable 'minifier' for these files (it would be great if the same tool could minify the CSS fil...

Having Problems skinning a DotNetNuke Menu

Is there a class that overwrites the .MainMenu_MenuItem class for the Main Menu? I try to change the font-size and color of the Topmost parent of the Main Menu(includes Admin,Host links) and they won't change. I can change the background color. What am I doing wrong? ...

Virtual Earth maps don't show when starting as display:none

I have this code to show a map using the Virtual Earth API: <script type="text/javascript"> function GetMap() { var map = map = new VEMap('myMap'); map.LoadMap(new VELatLong(47.6, -122.33), 10, 'h', false); } $(document).ready(function() { GetMap(); }); </script> <a href="#" onclick="$('#myMap').togg...

Use Site Map for Two Levels of Horizontal Navigation

How do I use the ASP.NET sitemap control to render stacked horizontal css menus with styled UL/LIs? It seems to only want to do trees or flyouts. ...