css

space around div with background image

Hi to all, i'm trying to create a frame that will contain a dynamic amount of text. it has rounded corners so a created 3 divs:top, body and bottom. body will hold the content while top & bottom only display the respective images of the frame. all this can be seen here: http://www.m-challenge.com/nimrod/modular_frame.php the problem: t...

Top Container Background Problem

Here's a screenshot: The red bar on the left is the background I set for the #personal div and I would like it to align to the top of the container, vertically. The problem is that I have a background for the #container-top div on top of the #container div with absolute positioning. Is there any way to move the #personal div up so th...

CSS Negative margins for positioning.

Is it ok to use negative margins for positioning? I have a lot in my current site and feel like it's not such a stable way to position things. I usually suggest to use them too. For example I have a checkout page with three divs on top of each other <div class="A"> header </div> <div class="B"> content </div> <div class="C"> ...

String Seach Replace AS3

I have a bit of text "this is the text want I want to do is replace the text, I have just added another is for good measure" This is stored as a standard string but I want to turn this into html and add css classes like, in this example wrapping around the word "is"; "this is the text want I want to do is replace the text, I have ju...

Flex - Visible shadings in text color

Hi! I have an application with a css for skinning. I noticed that some texts are not displayed as they should regarding the colors. Here's an image to give you a better idea of the issue: The texts should be kinda grey. The color is correctly displayed on the top part of the text, but the bottom is kind of faded. The same goes for ...

Difference in css-positioning in windows and linux

I have a problem with rendering my html page by the same browsers in different OS. There are 3 spans and position of each span is corrected through css(position:relative). But I have found out that the page that looks correct in firefox under Linux, shows not right at the same firefox(3.5.7) under Windows OS. Linux(Left - How it shoul...

Page looks good in most browsers except in IE7...why

Hi, The following page looks good in Firefox, Safari, Chrome, IE6 and IE8... but it looks bad in IE7. I don't have IE7 but I need to fix this issue because someone seen it in IE7 and it looks bad. Does anyone has any idea why this page renders different in IE7?...and what is the solution to make it display correctly? http://www.aetna....

CSS Rotation & IE: absolute positioning seems to break IE

I'm trying to rotate a variety of text blocks so they are vertically oriented, and position them in very specific locations on a diagram which will be previewed and then printed. CSS rotates the text very nicely in IE, FF, even Opera. But when I try to position a rotated element, IE 7 & 8 (not worried about 6) breaks completely and t...

JavaScript and CSS order

Hi, I have an HTML file which is linked to CSS file and also to JavaScript file. Is JavaScript executed first and then the CSS is applied, or vice versa ? Is there any way to change the order ? Thanks ! ...

Make an element visible to the user but invisible to events

I'm not quite sure how to describe what I'm looking to do, but I'll do my best. At the moment I have a parent <div>, with absolutely positioned child <div>s within it, and I'm tracking the mouse pointer location coordinates relative to the element your mouse is over. At the moment, when I mouse over my child <div>s, I get the mouse loc...

Firefox Opacity (Transparancy) Gradient - Fading out an image

I have an element with content inside it. The element - with its content - should be fully opaque on the left , fully transparent on the right. Evenly graded from right to left. As the content and background it is merging into are not fixed, there is no way to make an image in advance. I am aware that gradients can be used as backgrou...

Simple Tableless Positioning issue: Trying to float Div right on same line

Ok I just started a template for a website http://clickforclicks.com/design1/ I'm trying to make it tableless. Notice I have a red div along the side. I tried to get one on the otherside aswell that looked the same. But when I do it. It goes to a new line =[ How might I get this effect without using Javascript or Absolute positioning...

Suckerfish CSS menu not expanding for submenu

My suckefish menu on site http://www.lendorlaw.com cut off the right side of my menu. when you hover over practice areas it cuts of the word LAW. Some assistance would be appreciated. ...

CSS Tables & min-width container?

<div id="wrapper"> <div id="header">...</div> <div id="main"> <div id="content">...</div> <div id="sidebar">...</div> </div> </div> #wrapper { min-width: 900px; } #main { display: table-row; } #content { display: table-cell; } #sidebar { display: table-cell; width: 250px; } The problem is that the sidebar isn't always at...

Can I load javascript code using <link> tag ?

Hello, Can I load javascript code using <link> tag in my website ? For example I have a javascript file, test.js, which contains the simple code alert('hello'); Can I make the popup window appear using: <link href="test.js"></link> Thanks ...

What is the practical benefit to keep CSS 100% validated?

What is the practical benefit to keep CSS 100% validated (not using any hacks), for client's projects.? even if there is no cross browser problem. And what type of problem i can face in future if i do not maintain CSS validity 100%. ...

css, unordered list not displaying icon in right place...

I'm really frustrated with this one. A few weeks ago I got it working in both firefox and ie just fine. Went back today to do some testing and found a problem with the display in firefox and I've been searching the code but can't find anything. I could use a few tips from anyone willing, I'm sure I'm looking at the wrong things. I up...

How would I alter HTML displayed in VB.net application using Gecko

Hi, I would like to know how I would go about altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser. Any info/links would be greatly appreciated. Thanks! ...

How to use width relative from height?

I need to make 3:4 window, where 3 is 75% of screen. How could i set width? Like if i have 100px height and 10000000000000px width monitor, than i shold have 75:100px window. I heard that it could be done with the help of Javascript. ...

How can I hide empty html table cells with jQuery?

What I have to work with: An html table 5X7. On many queries, there are less that 35 items filling the complete table. How can I "hide" the empty cells dynamically in this case, using jQuery (or any other efficient way)? Thank you. ...