PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.CSS > Is this possible with CSS?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Is this possible with CSS?

Réponse
 
LinkBack Outils de la discussion
Vieux 01/03/2008, 00h20   #1 (permalink)
shapper
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is this possible with CSS?

Hello,

I am trying to replicate a table design that I created for Print in
Photoshop:

http://www.wikifortio.com/504226/Test.jpg

Is it possible to create this with CSS?

I created a table with thead, tfoot and tbody tags.
The tags thead and tfoot use tr and th. The tag tbody uses tr and td.

I have been trying to style this with CSS but no success. Is this
possible?

Thanks,
Miguel
  Réponse avec citation
Vieux 01/03/2008, 12h28   #2 (permalink)
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

Scripsit shapper:

> Hello,


Please get to the point. Preferably in the Subject line. Now the most
significant part (given the context, which implies that everything here
deals with CSS) is "this". Does this give clue?

> I am trying to replicate a table design that I created for Print in
> Photoshop:
>
> http://www.wikifortio.com/504226/Test.jpg


Can't you explain the idea in words? Do we have to look at the picture
before we even know what on &Planet; you are talking about?

> Is it possible to create this with CSS?


Probably not. Most things in the world aren't possible to create with
CSS.

> I created a table with thead, tfoot and tbody tags.
> The tags thead and tfoot use tr and th. The tag tbody uses tr and td.


That's trivial and fairly irrelevant. You're effectively just saying
"I'm using table markup".

> I have been trying to style this with CSS but no success.


But you don't share your best effort with us.

> Is this possible?


It depends on what "this" is.

Oh well, I peeked. And most of it is possible with CSS, though the
rounded corners would require some hackery (or the use of a background
image and _fixed_ dimensions, in pixels, for the content). I'd estimate
it might take about 4 hours.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
Vieux 01/03/2008, 13h20   #3 (permalink)
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

shapper wrote:

> I am trying to replicate a table design that I created for Print in
> Photoshop:
>
> http://www.wikifortio.com/504226/Test.jpg


http://k75s.home.att.net/show/wikifortio.jpg

Find a place to upload your screenshot that does not require anyone to
have to download the graphic file, save it, and use their own image
editor. Like my link.

If you're working on a web site project, you must have access to a
server somewhere...

--
-bts
-Friends don't let friends drive Vista
  Réponse avec citation
Vieux 01/03/2008, 14h22   #4 (permalink)
shapper
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

On Mar 1, 1:20 pm, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalid> wrote:
> shapper wrote:
> > I am trying to replicate a table design that I created for Print in
> > Photoshop:

>
> >http://www.wikifortio.com/504226/Test.jpg

>
> http://k75s.home.att.net/show/wikifortio.jpg
>
> Find a place to upload your screenshot that does not require anyone to
> have to download the graphic file, save it, and use their own image
> editor. Like my link.
>
> If you're working on a web site project, you must have access to a
> server somewhere...
>
> --
> -bts
> -Friends don't let friends drive Vista


Jukka,

calm down ... no stress. I admit I didn't post it the best way ...
.... but there was an image to download describing what I am trying to
do.

Beauregard,

I am following your advice:

http://www.27lamps.com/_lab/Table.htm

Basically my problems are:

1. Add the background image on each header cell with a 1px white space
between the background and the border.

The problem here is how to have the 1px white space between the
background color and the border.

2. Add the small icon on the bottom right corner of each header table
cell.

I have no idea how to do it unless I use background image ... but
then I will not be able to use the other one, right?

This is what I have:

..Grid
{
border-collapse: collapse;
margin: 20px;
color: #505050;
font-size: 70%;
width: 600px;
}
..Grid td, .Grid th
{
border: solid 1px #B6CBE7;
}
..Grid thead th
{
background: url(Images/GridHeaderBackground.jpg) repeat-x;
padding: 1px;
}

Thank You,
Miguel
  Réponse avec citation
Vieux 01/03/2008, 14h44   #5 (permalink)
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

Scripsit shapper:

> calm down ... no stress. I admit I didn't post it the best way ...
> ... but there was an image to download describing what I am trying to
> do.


So the URL you originally posted did not refer to something that
illustrates what you want? Instead we were supposed to _indirectly_
download an image, which was assumed to tell what "this" is.

That was even more clueless than I expected. Are you surprised to hear
that I lost all interest in trying to you?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
Vieux 01/03/2008, 14h54   #6 (permalink)
shapper
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

On Mar 1, 2:44 pm, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> Scripsit shapper:
>
> > calm down ... no stress. I admit I didn't post it the best way ...
> > ... but there was an image to download describing what I am trying to
> > do.

>
> So the URL you originally posted did not refer to something that
> illustrates what you want? Instead we were supposed to _indirectly_
> download an image, which was assumed to tell what "this" is.
>
> That was even more clueless than I expected. Are you surprised to hear
> that I lost all interest in trying to you?
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/


Jukka,

This is starting to be a soap opera ...

In my initial post the problem was not explained the best way ... or
not the way usually is done here.

I tried to improve it following Beauregard tips.

Obviously it is up to each person to me or not ... I am not going
to discuss that.

Thank You,
Miguel

  Réponse avec citation
Vieux 01/03/2008, 14h56   #7 (permalink)
Jonathan N. Little
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

shapper wrote:

> .Grid thead th
> {
> background: url(Images/GridHeaderBackground.jpg) repeat-x;
> padding: 1px;
> }


Here is your fundamental problem, the padding *includes* not *excludes*
the background.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>blocks</title>

<style type="text/css">
body { background-color: #faa; }
.test {
margin: 20px; padding: 10px; border: 1px solid #00f;
background-color: #afa;
}
</style>
</head>
<body>
<div class="test">
The canvas color will be pink. Now the test block's background is
green. Notice that the margin does not include the test's background,
but the padding does. Now you cannot use margins on table cells.
</div>
</body>
</html>

It s to understand what you are doing. See:
http://www.w3.org/TR/CSS21/box.html#box-dimensions

Now that said from your mock up image:

http://www.wikifortio.com/504226/Test.jpg

I have no idea what white line you are talking about.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
  Réponse avec citation
Vieux 01/03/2008, 15h06   #8 (permalink)
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is this possible with CSS?

Scripsit shapper:

> In my initial post the problem was not explained the best way ... or
> not the way usually is done here.


And you still haven't explained the problem verbally, in words, in plain
English.

> Obviously it is up to each person to me or not ... I am not going
> to discuss that.


But you _are_ making pointless postings that say what you are not going
to do, as if that were of any interest to anyone.

I'm not trying to explain anything to you. Others may benefit from the
observation that people should others to them, using things
like
- meaningful Subject line
- clear explanation of the problem
- posting a URL without having been asked
- not posting useless babbling.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h09.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17369 seconds with 16 queries