/    Sign up×
Community /Pin to ProfileBookmark

CSS cell box size?

Hi,

I was wondering if it is possible to make a certain cell size in CSS?

This is my page:

[url]http://catalinahotel.com/allie/[/url]

Ideally I want the red box around the slideshow to be equally-sized all around. I tried to control the size of that cell using CSS but it won’t work??

I did it with the menu and it worked there. Can anyone help please?

Allie


*********************************

My CSS for the red box is:

.redBox {
background-color: #FF0000;
width: 580px;
height: 400px;
}

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@TJ111Aug 13.2007 — Try this isntead.

.redBox {

background-color: #FF0000;

padding:10px;

}
Copy linkTweet thisAlerts:
@grimmylinaauthorAug 13.2007 — That did work...Can I ask you...is there any way to not let people stretch it out?
Copy linkTweet thisAlerts:
@ray326Aug 13.2007 — Use absolute instead of % widths.
Copy linkTweet thisAlerts:
@grimmylinaauthorAug 14.2007 — That didn't seem to work....is there another way to make it unstretchable?
Copy linkTweet thisAlerts:
@ray326Aug 14.2007 — I'm still seeing % widths all over that layout. Of course the tables aren't helping either.
Copy linkTweet thisAlerts:
@grimmylinaauthorAug 14.2007 — Oh...you were right!!!! Sorry, I thought you meant only for that cell. It worked.

Wow...thank you!!!!!!!!!
×

Success!

Help @grimmylina spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...