473,698 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CGI & Formatting

<code>
print start_form(-action=>'index. pl');
print p( {-align=>'center' }, span( {class=>'tip'}, "ÄéÜëå îå Ý*á
áðü ôá êåßìå*á ãéá *á äéáâÜóå ò => " ),
popup_menu( -name=>'select',
-values=>\@displ ay_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_hashr ef )
{
print table( {class=>'user_f orm'},

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>
Jul 21 '05 #1
2 1933
Nikos wrote:

<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

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 21 '05 #2
David Dorward wrote:
Nikos wrote:

<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

ok.

--
I knew UNIX before it was spelled L I N U X
and
I knew INTERNET before it was spelled W W W
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7754
by: Trevor | last post by:
Hello, Please bear with me, I am trying to learn C++. I am implementing some error/debug functions which format a message and output it to a C++ stream. I would like to design it using one low level function which accepts a "generic C++ stream" as an argument (cerr, cout, ofstream, etc). I have tried to make the parameter a const ostream&, but when I plug in cerr or cout I get a compiler error. What am I doing wrong? // The low...
0
410
by: Daniel Lidstrm | last post by:
Hi, I've been trying a long time now to generate some XML using MC++ and XmlSerializer. I have a piece of C# code that produces exactly what I want, but I simply can't get the MC++ code to write the same thing. Below I have included two minimal compilable samples that illustrate my problem. The C# code produces this XML: <?xml version="1.0" encoding="utf-8"?>
4
3648
by: Daniel Lidstrm | last post by:
Hi, I've been trying a long time now to generate some XML using MC++ and XmlSerializer. I have a piece of C# code that produces exactly what I want, but I simply can't get the MC++ code to write the same thing. Below I have included two minimal compilable samples that illustrate my problem. The C# code produces this XML: <?xml version="1.0" encoding="utf-8"?>
2
2964
by: Von Bailey | last post by:
I have a form where the conditional formatting is set on some fields to bold if certain conditions are met. However, when the conditions are met some of the data that is to bold is either not showing or only part of the data in the field displays (i.e. it will display the last name but not the first name or it will display neither). When the conditional formatting is removed it displays all the data as it should be display so the data...
25
2694
by: mdh | last post by:
Hi Group, Not looking for an answer, but more of an explanation. Thinking back to those heady days when you had the time to do them, may I ask this. Exercise 1-22 asks for a program to "fold" long input lines into 2 or more shorter lines before the nth column... etc etc. Now, there are numerous anwers on the web and in the "C answer book", which includes a function to expand the tabs to blanks ( depending upon where the tab is in...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7739
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.