I have a webpage which contains about 20 - 50 dynamic images (images served from a non-static source). These images are served through a servlet based on the request URL. This results in a request being generated per image, which leads to performance decay.
If these images were static, I would create a CSS sprite and replace the 50 requ...
I have created a site-map using the following HTML:
<ul class="main-menu">
<li>
<div>
<a href="#">Menu Item 1</a>
<ul class="actions">
<li>
<a
title="Collapse"
href="#"
class="icon icon-bullet-toggle-...
hi i have done slide show but i am new for jquery so i am unable to update so please help me
In the following code i want that when i click on any image in slide show video related to that image will show and one other is when i go to last in slide show after it go to first
My HTML and php code is
<table width="95%" border...
My one of web designer friend still making sites with table but he use css very nicely and I also use css nicely but with <div> and i face cross browser problem in layout more than my friend.
and i given some reason to my friend about cons of <table>. read my whole discussion with friend?
I - you site will be problematic with screen r...
How to render all IE version with w3c box model?
...
Hi all,
I'm sure this is a basic question to those of you who work in HTML and CSS regularly.
I have two pieces of text, both need to appear on the SAME line - one needs to be left aligned, and the other needs to be centered, regardless of how much text is in the left-aligned block (obviously while the length of the left-aligned text d...
I want to display a page with no scrollbar (height:100%). I have read suggestions to add this argument to html and body. But it does not work as I expect. In FF indeed I do not see a scrollbar. But in IE7 and 8 (Standards mode) there is a scrollbar. In Quirks mode it works as expected. Please take a look at this:
<!DOCTYPE HTML ...
%19 Left Section Width, %80 Content width:
But i want to fix left section to 200px and content section is the rest of viewable area's width.
How can i do this with CSS?
<html>
<head>
<title>TWO-COLUMN LIQUID LAYOUT WITH FLOATING BOXES</title>
<style type="text/css">
body
{
margin: 0px;
...
Hi all,
I have a DIV section that would like to use it as a "component" in a variety of contexts. For "component", I mean it will be automatically included in some places of the HTML page that could not be foreseen.
The required behaviour of the DIV section is that it's width should be always 100%, meaning it should totally fill the pa...
Hi, I wonder if there are any possibility to reset css in middle of page? I have main style, but in one area I would like to use style from tinyMCE generated source.
So in tinyMCE source are elements which in editor looks like default browsers style (or like user wants), but in other pages uses style from my main css and from it self in...
Should I teach CSS layout directly to new learners or should I first teach how to make layout with tables, then div+CSS?
And what should I teach between HTML or XHTML? Both are same so should I start directly with XHTML 1.0 Strict?
...
The div inside another div picture and code below. Because there will be text and images of the parent div. And red div will be the last element of the parent div.
<div style="width: 200px; height: 150px; border: 1px solid black;">
<div style="width: 100%; height: 50px; border: 1px solid red;">
</div>
</div>
...
I have a css class rule:
.test{ text-align:center; font-family:Verdana; }
And i want to create another id rule (I hope It is right calling by "id rule" ):
#divNew1{ color: Red; }
#spanNew2{ color: Green; }
#pNew3{ color: Yellow; }
I have a lot of div elements. I want to pass .test class properties to other elements with only changi...
Don't really want to blame mozilla on this one, i'm sure it could be me doing something silly but the page at:
www. neverMindFixed .com
the presentation will work fine on other browsers, just not the latest firefox. anyone clued up on this?
Thanks!
Si
...
Hi all,
I need some help to set a link as active as default when the page load the first time.
<style type="text/css">
a{
color:black;
}
a:hover{
color:white;
}
a:active{
color:blue;
}
</style>
<div>
<!--I want this fisrt link to be set as active by default-->
<a href="#"/>
<!--I want this one as normal-->
<a href="#"/>
</div>
I d...
You've probably seen fancy search boxes before (like the one on the jQuery API) where they have a clickable search icon that appears over the textbox. How can I semantically achieve this effect?
I have seen on some custom Google Search textboxes that it uses a background image on the textbox, and then it receives focus and removes the ...
I have a style assigned for a specific HTML element in my stylesheet file, like this
label {
width: 200px;
color: red;
}
In one special case, I would like to use a label element in the HTML document, but ignore the style specified for the label element (just for one instance in the document). Is there any way to achieve this in ...
Hey,
I'm trying to style a custom WebParts portal page I'm working on, but I'm lost on how to style it. Are there any resources out there that show how to style the WebPartZone, the PageCatalogZone, and the WebParts themselves?
Thanks.
...
Hi there,
I'm trying to add stylesheets conditionally to my drupal 6 site. I've added the following code to my template.php file to test it, and it's not working. The css file does not get added to my site.
function ben_preprocess_page(&$vars) {
drupal_add_css('/sites/all/themes/ben/advice.css','theme','all',FALSE);}
This code works ...
I am trying to identify all the <UL> that contain a menu list by defining the ID like this:
<ul id="menutop">
<li><a href="#">item1</a></li>
<li><a href="#">item2</a></li>
<li><a href="#">item3</a></li>
</ul>
<ul id="menumain">
<li><a href="#">item1</a></li>
<li><a href="#">item2</a></li>
<li><a href="#">item3</a...