GetDotted Domains

Viewing Thread:
"Slight CSS porblem"

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.

Thu 10/03/05 at 19:03
Regular
Posts: 4,279
Right, I have a table in which I want the text aligned verticaly middle.

div.middle a {
display:block;
width:160px;
height:50px;
color: #FFFFFF;
text-decoration:none;
font:16px verdana;;
text-align:center;
}

This is what I have so far. I've tried using vertical align. Problem is that it moves the entire table down and not just the text. Any ideas?
Fri 11/03/05 at 13:09
Regular
"Bicycle"
Posts: 4,899
Use inline, just define it in two (or three if you're paranoid) different elements.

eg. my current PHP crappy testpage: [URL] http://iscribbler.com/ntemplate [/URL]

Has the following CSS for it's list:

#nav ul {
margin-left: 0;
padding-left: 0;
display: inline;
}

#nav ul li {
margin-left: 53px;
list-style: none;
display: inline;
}


#nav ul li.begin {
margin-left: 0;
border-left: none;
list-style: none;
display: inline;
}

I know, it's ugly, but whatever.
Fri 11/03/05 at 10:35
Regular
Posts: 4,279
Well I've done that but the problem is that I need to display them as a block and an inline for it to work properly, however I can't.

Inline makes the list horizontal and crappy
Block makes the list vertical and good

I want it horizontal and good. Any ideas?
Fri 11/03/05 at 10:19
Regular
"Lisan al-Gaib"
Posts: 7,093
Damarus wrote:
> The one you helped me with is this one.
> [URL]http://www.damarus.co.uk/webdesigns/design2/[/URL]

Bwhahahaha. lovely test image.
Fri 11/03/05 at 03:19
Regular
"Bicycle"
Posts: 4,899
Use lists.

There's plenty of reasons now, in fact, so many I don't have time to list them.

Here's an article on it:

[URL] http://www.alistapart.com/articles/taminglists/ [/URL]
Fri 11/03/05 at 00:50
Regular
Posts: 4,279
What's wrong with using tables for links?
Thu 10/03/05 at 23:23
Regular
"Bicycle"
Posts: 4,899
Aah tables.

*Dies*
Thu 10/03/05 at 23:04
Regular
Posts: 4,279
I prefer designing websites than I do building them so I have quite a few on the go.

The one you helped me with is this one. [URL]http://www.damarus.co.uk/webdesigns/design2/[/URL]
Thu 10/03/05 at 20:52
Regular
"Bicycle"
Posts: 4,899
I know.

Wouldn't have suggested it if it didn't...

:D

Glad it does. How's your site coming? Care to link to a preview?
Thu 10/03/05 at 20:02
Regular
Posts: 4,279
Thanks Coin. Works perfectly.
Thu 10/03/05 at 19:38
Regular
"Bicycle"
Posts: 4,899
It can be done!

Just a quick google and I remembered an old bookmark, Ten CSS tricks you may not know [ULR] http://www.webcredible.co.uk/ [REMOVETHIS] user-friendly-resources/css/css-tricks.shtml [/URL].

So basically:

"Specify the line height to be the same as the height of the box itself in the CSS. In this instance, the box is 2em high, so we would insert line-height: 2em into the CSS rule and the text now floats in the middle of the box - perfect!"

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
Top-notch internet service
Excellent internet service and customer service. Top-notch in replying to my comments.
Duncan

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.