hello
I want to do so the size of the bubble, is auto-adjusting after the text(comment) which is inside the div..
Firstly heres the code:
.bubble {
font-size: 12px;
margin-bottom: 0px;
}
.bubble blockquote {
margin: 0px;
padding: 0px;
border: 1px solid #c9c2c1;
background-color: #000;
}
.bubble bl...
I have a big jQuery code and I am thinking at speed performance of my functions. When an element is clicked (mousedown) i need to assign an image as background. I can do this by 2 ways:
$('#element li.class').css({"background":"someimageURL"});
or
$('#element li.class').addClass("someclass");
where "someclass" have the actual CSS b...
I'm designing an MVC site, and I've already got quite a few things in the Site.css that only apply to one controller or even one page. I'd like to break this out into multiple css files and include them only when necessary, but how can I do this when all header information is in the Site.Master.
Note: I still want to use master pages, ...
.xboxcontent {
display:block;
background:#000000;
border:3px solid #fff;
border-width:0 3px;
}
.xsnazzy h1, .xsnazzy h2, .xsnazzy p {margin:0 10px; letter-spacing:1px;}
.xsnazzy h1 {font-size:2.5em; color:#fc0;}
.xsnazzy h2 {font-size:2em; color:#234; border:0;}
.xsnazzy p {padding-bottom:0.5em; color:#eee;}
.xsnazzy h2 {padding-t...
Hello,
Live Demo with visible code; http://jsfiddle.net/3eEgb/4/
The demo should be fairly self explanatory; I'm finding the length of a sentence inside a wrapper with the overflow hidden, and if it's wider than the wrapper I'm running an animation function that slides it along, revealing the remaining text.
However I'm having problem...
Not really even sure what to call what I am trying to do so I will just explain. I have a section at the top of my site that I want to display announcement type messages. Theses messages will only be relevant to members of the site. As such, I would like for when they begin to type in their username and password, the div/message to appea...
hello
what is the best way ( if there is any ) in java to convert html with css2 support to
postscript file ?
...
I have applied the following style to the pre element:
pre {
background-color: #FFFFCC;
border: 2px dashed #FF6666;
padding-top: 7px;
padding-bottom: 8px;
padding-left: 10px;
float: none;
padding-right: 10px;
margin: 10px;
}
The text overflows the box.
When I applied the float:right property...
I have a div whose width is 100%. I know I can use box-sizing (or -moz-box-sizing) set to border-box to get that div's total width, including borders and padding (but not margin) to be that computed 100%. Is there a way to include the margin in that relative size computation as well?
Alternately, it would be great if there was a non-Jav...
Hi all:
First of all I must say I am more a programmer than a designer, so my knowledge and capability for designing a "fancy" interface is not on par with a normal web designer.
I often come in situations like customers want me to finish their blog - or mini CMS ASAP. And their first preference would usually be WordPress. No offense, ...
I have 2 basic forms -- sign in and sign up, both on the same page. Now, I have no problem with the sign in form auto-filling, but the sign up form auto fills as well, and I don't like it.
Also, the form styles get a yellow background which I can't manage to override and I don't want to use inline CSS to do so. What can I do to make the...
I am trying to build a layout which has a fixed width div and a liquid width div beside it :
<div id="main" style="width:100%; height:500px; background-color: #ccc;">
<div id="right" style="float: right; width:100px; height:500px; background-color: red;">
</div>
<div id="left" style="float: right; width: auto; height:500px; ...
Hello,
I am creating a website that uses a fluid layout with artificial columns. I have an image at the top with some text to the side. I want the image to have a minimum size of 550px and a maximum size of 75% of the parent div. I tried this:
.class{
width: 550px;
maxwidth: 75%;
}
but it did not work.
...
In javascript I have a problem with a script I am writing. I need to be able to get the starting top and left positions of an html object like a table or an image that are defined in the CSS.
When I define the left(20px) and top(20px) offsets for the table I run the javascript console built into chrome and do parseInt(document.getEleme...
Hi Guys,
I have the following html
<div class="sub">
<a href="#" id="people">People</a>
</div>
which has the CSS for the "a" as
color:#999999;
font-size:31px;
I am trying to use jQuery to get this to change the color using a class "active" which just has "color:#777!important;" but everytime I do this it just doesn't work....
I noticed that some wordpress themes ('Thematic' for example) adds user specific classes to the body element so you don't have to retort to CSS browser hacks, for example:
wordpress y2010 m02 d26 h05 home singular slug-home page pageid-94 page-author-admin page-comments-open page-pings-open page-template page-template-home-php mac firef...
hi, can somebody tell me when to use %, em, ex as fonts unit of measurement when dealing with css ? am confuse
...
Hi,
I have a drop down menu in only CSS and no JAVASCRIPT and I'm having a problem keeping the top (main menu item) highlighted when I move the cursor over the sub menu items. You can see the menu here http://www.codedecks.com/cssnav.html.
If you hover over "Kids" and move your cursor down, as soon as your over "Girls" the top "Kids" l...
In the css when i call the page i load the one link with coding and other by hyperlink the code link size expand big?
...
I am trying to create an HTML document that should look something like
Some text that spans multiple rows
4 4 4 5 8 4
but that has some statistical information
3 4 3 4 11 12
beneath almost every word
7 6 5 4
I have tried something like
<span>Some<br...