GetDotted Domains

Viewing Thread:
"CSS related"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 20/06/03 at 15:32
Regular
Posts: 787
Is there such a method in CSS which allows you to have a set amount of spacing between each element??

At the moment, I have a list of links to the site of the page, one above the other, but with no gap between them.

Rather than inset a transparent image spacer, I'd like to use CSS to add the spacing for me, but is this possible??

At the moment, my code looks like this:

#Navigation {
position: absolute;
top: 100px;
left: 5px;
width: 160px;
height: 545px;
padding: 0px 0px 0px 0px;
background-color: transparent;
color: black;
overflow: hidden;
}

.Link-Box {
display: block;
position: relative;
width: 140px;
height: 22px;
padding-top: 2px;
padding-left: 4px;
border: solid 3px #FF00FF;
background-color: #90FFFF;
color: blue;
overflow: hidden;
}

The first being the surounding
for the links, and the second being the class called within each link.

Any ideas??
Thu 26/06/03 at 16:17
Regular
"It goes so quickly"
Posts: 4,083
You state the obvious all you want, its the only way I'll learn :)

Thanks, it was just a case of me getting margin and padding the wrong way around .. and so thinking it won't work quick so simply.
Fri 20/06/03 at 21:52
Regular
"l33t cs50r"
Posts: 2,956
NOt wanting to state the obvious, but you can "space" things out using specific margin declarations or specific borders. Why do you think you have the option to use Top, Left, Bottom and Right in the values? 'tis how I have always done it!
Fri 20/06/03 at 15:32
Regular
"It goes so quickly"
Posts: 4,083
Is there such a method in CSS which allows you to have a set amount of spacing between each element??

At the moment, I have a list of links to the site of the page, one above the other, but with no gap between them.

Rather than inset a transparent image spacer, I'd like to use CSS to add the spacing for me, but is this possible??

At the moment, my code looks like this:

#Navigation {
position: absolute;
top: 100px;
left: 5px;
width: 160px;
height: 545px;
padding: 0px 0px 0px 0px;
background-color: transparent;
color: black;
overflow: hidden;
}

.Link-Box {
display: block;
position: relative;
width: 140px;
height: 22px;
padding-top: 2px;
padding-left: 4px;
border: solid 3px #FF00FF;
background-color: #90FFFF;
color: blue;
overflow: hidden;
}

The first being the surounding
for the links, and the second being the class called within each link.

Any ideas??

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

LOVE it....
You have made it so easy to build & host a website!!!
Gemma
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.