News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

little coding help

Started by Eggtastico, January 01, 2011, 21:41:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eggtastico


NEED A GAP HERE


Im trying to get them to output next to eachother - how do I make an actual gap/character space between each div class? i tried

     

but that just made the second class over lap & out of aligment

Clock'd 0Ne

Im assuming from the CSS that these divs float left and sit alongside each other, as usually they would sit one on top of the other. You need to use margin or padding on the divs.

Try this in the css:

.readon-main { margin-right: 10px; }


or try it inline:


Eggtastico


Clock'd 0Ne

Can you put up a screenshot of what it looks like at the moment?

Eggtastico

Quote from: Clockd 0NeCan you put up a screenshot of what it looks like at the moment?

http://www.indigo-mouse.co.uk

The image overlaps


Clock'd 0Ne

Right, it will be a width or position setting causing the overlap, can you paste up the CSS its using?

Eggtastico

Quote from: Clockd 0NeRight, it will be a width or position setting causing the overlap, can you paste up the CSS its using?
I wouldnt know where to look :(

I can do

& it will display on the next line - obviously... maybe Im stuck with that

Clock'd 0Ne

Without looking at all the CSS in more detail its very difficult to make any further kind of suggestion.

neXus

They have been built up pretty strange in the markup but to fix it in its current form....

Get rid of those div clear. The clear should come after the things you float.


Indigo Mouse offer a range of on-site services tailored to your needs. We will repair your computer, set up your printer, or install any hardware and software that may be causing you difficulty, including broadband, Wi-Fi, scanners, cameras, Skype, mobile phones and many more ...all for a fixed price.








Then on the CSS:
.readon-wrap1 {
    float: left;
    margin-top: 15px;
    padding-right: 25px;
    position: relative;
}

Eggtastico

thanks, but ill prob just leave it as it is now