Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / April 2005



Tip: Looking for answers? Try searching our database.

CGI & Formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nikos - 30 Apr 2005 19:17 GMT
<code>
print start_form(-action=>'index.pl');
      print p( {-align=>'center'}, span( {class=>'tip'}, "ÄéÜëåîå Ýíá
áðü ôá êåßìåíá ãéá íá äéáâÜóåéò => " ),
                                   popup_menu( -name=>'select',
-values=>\@display_files ),
                                   submit('ÅðéëïãÞ'));
print end_form;

This is non-Perl question but i really must understand why its not working:

inside styles.css i have:

td.tip {
     font: 18px times;
    color: cyan;
}
</code>

But i cant see thes quoted text in "big centered lime colored text".

<code>
   while( $row = $sth->fetchrow_hashref )
   {
      print table( {class=>'user_form'},

         Tr(
            td( {-width=>'25%'},      {class=>'name'},    $row->{name}
    ),
            td( {-width=>'50%'},      {class=>'email'},
$row->{email}    ),
            td( {-width=>'25%'},      {class=>'date'},    $row->{date}
    )
         ),

         Tr(
            td(                       {class=>'host'},    "Åõ÷Þ ôïõ
Éçóïý" ),
            td( {colspan=>2},         {class=>'tip'},    $row->{pray}
    )
         ),

         Tr(
            td(                       {class=>'tip'},    "ÐñïóùðéêÞ
ÏñèïäïîïðíåõìáôéêÞ Åìðåéñßá" )),
            td( {colspan=>2},         {class=>'remark'},
$row->{remark}   )
         ),

         Tr(
            td( {colspan=>3},         {class=>'host'},    $row->{host}
      )
         ),

         br() x 2;
   }
</code>

Ans also this, do i ahve any mistake in it because the script dont have
error but i see nothing:

Here is the CSS also:

<code>
table.user_form {
    background-image: url(/data/images/swirl.jpg);
     width: 55%;
      color: lime;
      text-align: center;
    font: 18px times;
    border: 5px inset blue;
    border-collapse: collapse;
}

table.tip {
    background-image : url(/data/images/blue.jpg);
     width: 85%;
      color: lime;
      text-align: center;
    font: 18px comic;
    border: 3px inset red;
    border-collapse: collapse;
}

table.info {
    background-image : url(/data/images/blue.jpg);
     width: 20%;
     color: lime;
      text-align: center;
    font: 18px comic;
    border: 3px inset magenta;
    border-collapse: collapse;
}

table.games {
    background-image : url(/data/images/blue.jpg);
     width: 80%;
      color: lime;
      text-align: center;
    font: 18px comic;
    border: 8px ridge magenta;
    border-collapse: collapse;
}

table {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

Tr {
    text-align: center;
    border: 2px inset blue;
}

td {
    border: 1px inset yellow;
}

td.tip {
     font: 18px times;
    color: white;
}

td.host {
     font: 18px comic;
    color: lime;
}

td.date {
    font: 18px comic;
    color: yellow;
}

td.passage {
    font: 18px orange;
    color: lime;
}

td.counter {
    font: 18px comic;
    color: cyan;
}
</code>
David Dorward - 30 Apr 2005 19:53 GMT
<snip>

I responded in another group, it might have been ciwah, it might have been
alt.html. I don't remember.

Please don't multipost.

http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

Signature

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

Nikos - 30 Apr 2005 20:21 GMT
> <snip>
>
[quoted text clipped - 4 lines]
>
> http://www.cs.tut.fi/~jkorpela/usenet/xpost.html

ok.

Signature

I knew UNIX before it was spelled   L I N U X
        and
I knew INTERNET before it was spelled  W W W

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.