css

Why would an image on a web page get repositioned after a few refreshs?

So I discovered this weird bug, it's so odd and I can't understand why is it doing this. I am using Firefox 3.5.7. It's not happening in Internet Explorer 8 though. So if you visit this website: http://www.ninjasliveclancodes.com/ and look at top right where it says "World War" and pay attention to it because after you refresh a few time...

is css for pair tags only?

Hi, i'm trying to understand css and first thing i tried was this: <div style=" height: 100px; width: 100px; border: 1px solid black"/> <div style=" height: 100px; width: 100px; border: 1px solid red"/> and <div style=" height: 100px; width: 100px; border: 1px solid black"></div> <div style=" ...

What is the best method to code contact info in x/html ?

What is the best method to code contact info in x/html other than Microformats? Is the use of <p> and <br/> is ok? or do we have any other good element? <p><strong>London</strong> <br/> 607,5th Floor, Oxford Towers, <br/> Airport Road, Kodihalli <br/> London 560 008 <br/> Phone: 91-80- 4115 1705-706 <br/> Fax: 91-80- 41151707 <br/> Ema...

*Multiple* Print Specific Div

I'll try to explain: I have numerous div classes, but for the sake of simplicity, let's say I only have 3. Someone is viewing DIV 1, and I want to give them the option of only printing DIV 1, omitting 2 and 3. However, on the same page, I would like to give them the option to ONLY PRINT DIV 2. Or only print DIV 3. I think I get how y...

change width of a div dynamically

I am trying to change my "inner" div's width dynamically on the click that the images are changed (which works) with a similar script. I cannot get the script to work, any help fixing it, or changing it would be appreciated. I am a noob in javascript so please be nice ;-) <script type="text/javascript"> function setBase(baseval) { ...

Align two images to bottom left & right corners of a <div>

My page currently has something a bit like the following, in order to put two images on each side of my page header-bar. <div id="header" > <div style="float:left" > <img src="media/logo1.png"/> </div> <div style="float:right" > <img src="media/logo2.png"/> </div> </div> ...

how to organize all js, css, php and html code?

Now I know that you can use OOP and MVC to organize, but that is just for PHP. Let's say, I add a new window that pops up when a user clicks on a link and it displays a form with JS validations and it is CSS styled. Here we got 4 codes: JS, CSS, PHP and HTML (with some PHP snippets). How would you organize all these codes? Because whe...

Vertically center multiple boxes with CSS

I need to center vertically multiple boxes with different heights. I dont know the height of the boxes as they are variable texts. How can I do this with CSS (without having to use td and valign). Tried display: table-cell but it seems not compatible with IE The image below shows the design, the post-it is the browser window ...

increasing whitespace - css background

i am very new to CSS. i need to increase the width of the white space of this: http://yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 the css file is here: http://yoursdproperty.com/templates/pjo_joomlaforall/css/template_css.css how do know which element to change? ...

Is it possible to select an an element that immediately preceeds aother element using the adjacent selector

I would like to select <label> elements that immediately preceed <input type="checkbox"> from the CSS guide Adjacent sibling selectors have the following syntax: E1 + E2, where E2 is the subject of the selector. But, unless I'm misunderstanding the spec I need a select where E1 is the subject not E2. I'm sure this must be av...

Z-index problem on IE7

**this question is on bounty because the below answers did not solve the problem. I am debugging a page in IE7 and have run into one problem. When you hover over a nav link, the dropdown falls below the slide below it. The dropdown ul is positioned absolutely with a z-index of 10 and the slider is positioned relative to its parent with...

Solve this imagemap problem?

Hi, i have the following situation (please see image below after reading the following): .dragoverlay (white rectangle in image) is a (jQuery) draggable div. it's the same size as the browser viewport. .items (small red square(s) in image) is an absolutely positioned div of size 0x0. The lightblue items squares are absolutely positi...

joomla: how is the CSS generated?

i made a website that looks like this www.yoursdproperty.com i would like to know how the CSS is generated? where is it generated? how can i edit the settings that generate the CSS? ...

css - removing background image

i have this image in the background: http://yoursdproperty.com/templates/pjo_joomlaforall/images/bgr.png of this page: http://yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 how do i remove it? i understand that if i remove it the page will just be white in the background correct? if not, what do i need to do...

css - increasing size of holder or what ever its called

i have this site: http://yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 i need to increase the width of the "holder" where the content is. i need to make it so that the iframe fits and i need everything to remain centered as it is now. how do i increase the width of the content? when i say content i mean eve...

Imageslider jQuery

Hi everyone (this is my first thread here) I'm making an "imageslider" (but with div:s) with jquery. The question is, How do i hide my scrolling elements outside of the div with the border? (I'm new here so i cant do post with links so i deleted them) The code: <script type="text/javascript"> var pos = 1; $(document).ready(func...

css - why is the white image unevenly distributed?

on this site: http://yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 as you can see the white background a little bit of the grey at the bottom is not solid, it stops and then starts over. do you know how smooth it out? ...

css - text indentation in navigation bar?

at this site: http://yoursdproperty.com/index.php?option=com_jumi&amp;fileid=8&amp;Itemid=34 you will see on the left there is a navigation bar that says home buying property search san diego (PROPERTIES IS INDENTED!!) how do i make is that that these are not indented? or at least so that PROPERTIES is equally intended. i want th...

css - background at top right is jagged

as you can see here: the background is not even the site can be found here: http://yoursdproperty.com/index.php?option=com_content&amp;view=section&amp;id=4&amp;Itemid=37 how can i even it out? ...

joomla: editing html of menus?

is it possible for me to edit the html of the menus on top here? http://yoursdproperty.com/index.php?option=com_content&amp;view=section&amp;id=1&amp;Itemid=27 the home, buying property, selling property, etc, want to be able to edit the html. is that possible? where would the file be? i actually need them to take up 100% of the top a...