Hey guys,
I've created a dummy layout for my latest design, but when I resize the window in ie7 to check that the min-width works, it kicks the content area to below the sidebar, whereas in all other browsers (including ie6) it behaves exactly as it should do.
Demo Link
Can anyone see what the problem is that's causing this random co...
I'm trying to figure out where to put some code in an email. You know how you can get newsletters with styling and images, etc? I wanted to send some out but I cant figure out where to put the code. Do you add the images as attachments? Do you put the code in the body?
or should you upload the .html file as well?
...
I have 2 canvas, one use old html "width" and "height" to size it, the other use CSS
<canvas id="compteur1" width="300" height="300" onmousedown="compteurClick(this.id);"></canvas>
<canvas id="compteur2" style="width: 300px; height: 300px;" onmousedown="compteurClick(this.id);"></canvas>
compteur1 display like it should, but not compt...
Right, so I've got a section of a page:
<div class="article">
<div class="author">
<img src="images/officers/john_q_public_thm.jpg" />
<span class="name">John Q. Public</span>
<span class="position">President</span>
</div>
<abbr class="postdate">
<span class="month m-01">Jan</span>
<sp...
<style>
.special p { display:none; }
.special:hover p { display:block; }
</style>
<table>
<tr>
<td style="width:200px">Things</td>
<td style="position:relative; width:220px">
<div style="position:absolute;right:0" class="special">
<img id="shows" />
<p>Variable width upto, say 600px (Will be hidden until ...
Suppose I have a span:
<span class="myspan"></span>
.myspan{
background: url(image.png) top left no-repeat;
}
How do I make it so that when people hover my span, it shows "image_hover.png"?
...
A client wants to have an image that takes up entire screen, on mouse over the menu would appear. The problem is the height vertical alignment for various screen sizes....What would be the most common sleek looking solution to this issue? Let's assume that the most common screen resolution for the site's audience is 1024x768 but it shoul...
I'd like to know how to further optimize my site. THanks.
...
Is there any way to modify the CSS properties of one table's cells based on the table's ids, rather than specific child ids?
I would like to change one table's appearance (giving each cell a colored border, for instance) one way, and another table another way, but I'd like to avoid specifying an id for each cell.
To be clear, I don't n...
Hi - I am having issues with overflow: hidden not working in my case.
I have a div id=ticker which basically works like a scrolling ticker. something like this - http://www.tinymassive.com/ (whats happening section). So i am prepending dynamic content to div id=ticker
The div id=ticker is contained in another div which is contained in ...
hi,
i'm using a wysiwyg editor which has a .css applied - how can i get all its classes into a variable eg. allClasses = ['navi','main']?
thx
...
Hey all im learning as i go with editing CSS and PHP and ive manage to put together a layout, looks fine on the main page, but I noticed the content is not stretching properly height wise when i goto click on the 3D gallery.
Here is the a link to the page that has the issue:
http://www.idreamfx.com/wp/?page_id=36&album=1&gallery...
In a table of mine I have the table header, th which have two separate links in each cell. Each of them wrap to a new line which I don't want. If I remove all the style sheets it doesn't fix it. If i disable style sheets in the browser it fixes it but there are no inline styles that would cause the wrapping. If they are non-hyperlinked w...
Why my text has the justify effect?
In my whole site, I make echos and i dont specify a "text-align:justify;"
but my text is still justifying. Justify is when you make the browser window smaller, the text moves so it fits in the window. I tryed making something like this:
<?php
echo "<h1>some stuff.</h1>";
?>
<html>
<head>
<style>
h1
{
t...
Does anyone know a way to have specific CSS style sheets based on the type of Mobile Device? I have been researching it a few days now and haven't found anything except this snippet of code for iPhones.
<link media="only screen and (max-device-width: 480px)" href="iPhone.css" type="text/css" rel="stylesheet" />
This works great for iP...
I've created a class web page with a page for midterm review. It uses jsMath to turn Tex into nice math. (MathML looks awful) Anyway, I would occasionally like to have several problems per line. Each problem is in its own <span>, so if it needs to wrap, it won't split the problem.
It all seems to work, except that Safari for the Mac...
Example
<span style="BACKGROUND-COLOR: #ffd700">Background color</span>
How screen reader handle inline css ? is there any other cons of inline CSS except css management?
Inline styles are valid also . i tested with W3C Validator and with XHTML 1.0 Strict doctype?
<p><span style="MARGIN-RIGHT: 0px">Left indent</span></p>
...
Hi All,
I 'm a php developer. I develope a site for mobile using php hawhaw.inc.
i use the page sim for set the css for my page
as
$myPage->use_simulator("http://".$_SERVER["SERVER_NAME"].":".$_SERVER['SERVER_PORT'].dirname($_SERVER['PHP_SELF'])."/css/style.css")
im my css file i write the css for table. it set in the windows mobi...
Hi,
I have an MVC view with a Ajax.ActionLink.
this.Ajax.ActionLink( "Create Offender", "Create", "ReportOffender",
null, new AjaxOptions()
{
HttpMethod = "GET", UpdateTargetId = "dialog",
OnBegin = "function() { $('#dialog').dialog('open'); }"
},
new Dictionar...
I have a form with a drop down list of venues and a submit button.
They are supposed to be on the same line, but since the list of venues is dynamic, it could become too long and push the button down.
I was thinking of setting a max-width property to the select, but I'm not clear whether this will work in all browsers. Do you have any s...