473,785 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Table to CSS - call for help

I thought about your suggestion to leave tbales and, instead o, work
with css.

The problem is, that I still don't know veray much about css, so I have
some difficulites to understand css-suggestions and to make little more
complex designs by myself.

Nevertheless I tried

This is the original page:
http://www.kairos-team.de

pic-division, banner, sidebar, and main division are realized by tables.
The height of the banner must be the same as the height of the picture,
and the width of the sidebar must be the width of the picture. So
everything is automatic, and I have different pages as
http://www.sonoptikon.de
or
http://www.akkordeon-herten.de

It's always the same design and the same frame, it fits automatically

I made a trial to convert ist to css, the first, raw result is here:
http://www.kairos-team.de/test/

There are some questions and some problems:

One of the first problem is that in the banner there are two tables in
the tables, and perhaps this should be changed.

Otherwise it lookes nice, I know the width and the height of the
picture, so I can count the width of banner and main, that's easy.

Questions:
How can I pull the sidebar down to the legnth of the main section.

Why is the footer not under sidbar _and_ main?

thanks for help

Werner


This is the css File:
body,
h1,h2,h3,h4,h5, ul,ol,li,div,td ,th,address,blo ckquote,nobr,b, i
{ font-family:Arial,sa ns-serif;}
p,ul,ol,li,div, td,th,address,n obr,b,i
{ font-family:Arial,sa ns-serif;font-size:10pt; }

h1 { font-size:24pt; color:#AA0000; margin:8px; margin-left:4px}
h2 { font-size:16pt; margin:8px; margin-left:4px}
h3 { font-size:12pt; margin:6px; margin-left:4px}
h4 { font-size:10pt; margin:6px; margin-left:4px}

html {
margin:0;
padding:10;
background:#a7a 09a;
color:#000;
}
body {
min-width:900;
}
#wrap {
background:#99c ;
margin:0 auto;
width:950px;
}

#logo {
background:#FF8 844;
float:left;
width:120px;
height:100px
}
#banner {
background:#FF8 844;
float:right;
width:830px;
height:100px
}
#sidebar {
background:#FF8 844;
float:left;
width:120px;
}
#main {
background:#fff fff;
padding:10px;
float:right;
width:810px;
}
#footer {
background:#999
clear:both
}

--
--------------------------------------------------
Dorothee & Werner Partner, 45699 Herten
http://www.sonoptikon.de
Aug 7 '07 #1
5 3087
Werner Partner wrote:
I thought about your suggestion to leave tbales and, instead o, work
with css.
Whose suggestion? Are you talking to me? Is this supposed to be an e-mail?
>
This is the original page:
http://www.kairos-team.de
I made a trial to convert ist to css, the first, raw result is here:
http://www.kairos-team.de/test/

There are some questions and some problems:
No surprise. Step 1 is always to validate your code. For markup use
http://validator.w3.org/ and for validating your stylesheets go to
http://jigsaw.w3.org/css-validator/ . Without valid code all bets are off.
>
Questions:
How can I pull the sidebar down to the legnth of the main section.

Why is the footer not under sidbar _and_ main?
Invalid CSS. You're missing a semi-colon in the #footer ruleset.
>
This is the css File:
No, don't paste this. We've got your URL, we can get your CSS.
--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html
Aug 7 '07 #2
John Hosking schrieb:
Werner Partner wrote:
>I thought about your suggestion to leave tbales and, instead o, work
with css.

Whose suggestion? Are you talking to me? Is this supposed to be an e-mail?
No, the suggestion came from Tim Streater, he posted a link with a
tutorial. I tried to follow the tutorial, and I am thinking about
throwing tables away and working with css.

>
Invalid CSS. You're missing a semi-colon in the #footer ruleset.
thanks! This was the mistake.

It's looking much better now - let's say it looks as it should look.
http://wwwkairos-team.de/test/

The banner is not ready yet.
I will put the questions if there are some.

thanks

Werner
--
--------------------------------------------------
Dorothee & Werner Partner, 45699 Herten
http://www.sonoptikon.de
Aug 8 '07 #3
Werner Partner wrote:
John Hosking schrieb:
>Invalid CSS. You're missing a semi-colon in the #footer ruleset.

thanks! This was the mistake.
You're welcome. But that wasn't the only mistake. In fact you seem to
have overlooked my actual advice (which you've snipped):
No surprise. Step 1 is always to validate your code.
If you had done *that*, you would have solved the problem of the
semi-colon "on your own" and your code would be valid now, too, which it
isn't.
>
It's looking much better now - let's say it looks as it should look.
http://www.kairos-team.de/test/
(URL corrected, maybe) Maybe it does, maybe it doesn't; with invalid
code, how can you be sure?

In my case, using FF, it doesn't; the footer is small and scrunched up
under the menu. In IE6, the footer is tall, stretching from under the
menu to the bottom of the content.

Anyway, it doesn't look like this URL, corrected or not, has the missing
semi-colon in the CSS. What URL really "looks as it should look?"

--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html
Aug 8 '07 #4
Werner Partner wrote:
But - there is another crucial thing: In the header are tables, too.
You see it, when you look at the source code.

But I think the header could be designed with css, too. I will try
tomorrow or the day after tomorrow.
Maybe this will give you some ideas:
http://k75s.home.att.net/banner.html

--
-bts
-Motorcycles defy gravity; cars just suck
Aug 8 '07 #5
Beauregard T. Shagnasty schrieb:
Werner Partner wrote:
>But - there is another crucial thing: In the header are tables, too.
You see it, when you look at the source code.

But I think the header could be designed with css, too. I will try
tomorrow or the day after tomorrow.

Maybe this will give you some ideas:
http://k75s.home.att.net/banner.html
thanks

Slowly I will get along.

Werner

--
--------------------------------------------------
Dorothee & Werner Partner, 45699 Herten
http://www.sonoptikon.de
Aug 9 '07 #6

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

Similar topics

7
6218
by: Rick Caborn | last post by:
Does anyone know of a way to execute sql code from a dynamically built text field? Before beginning, let me state that I know this db architecture is built solely for frustration and I hope to make it better soon. Unfortunately, there is never a non-crucial time in which we can do an upgrade, so we are stuck for now. Point 1: There are multiple tables: students, courses, cross-reference
1
3552
by: Thanks | last post by:
I have a routine that is called on Page_Init. It retrieves folder records from a database which I display as Link Buttons in a table cell. I set the table cell's bgcolor to a default color (say black for example). I am dynamically creating the LinkButton controls and adding them into the table cell and I've also hooked up an event handler for each LinkButton's Click event. This all works fine. Now in the Link Button's Click event...
5
3543
by: PAUL | last post by:
Hello, I have 2 tables with a relationship set up in the dataset with vb ..net. I add a new record to the parent table then edit an existing child record to have the new parent ID. However when I do the update the changed parentid in the child table fails to change. No error is given its just that the change is not written to the Database. When I step through the records for the child table the one I would expect to be changed has a row...
1
1580
by: Rahul | last post by:
Hi, I tried many option, but did not found solution. Same Validation Error showing. If I have convert one table, it can easily converted. But If I have paste another table in same file, then showing validation Error. This Error is -- =======================================================
21
3225
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code (i.e. the get_hash function) is borrowed from various snippets I found on the net. Thee free function could probably need some love. I have been thinking about having a second linked list of all entries so that the cost of freeing is in proportion to...
6
2359
by: A_M_IS | last post by:
Hello group, hope to anybodys help on my temporary blackout. (Using Access 2003 on XP Win.) I know how to create and edit temporary query recordset, then I can set this data source as my form recordsource. Until there all this work for me at a glance. Problem case now! For another reason I need to store my selected datas from this datasource in another new table, can we name it as tempTable.
4
1890
by: Farraige | last post by:
Hi I need your help... I am implementing the method that updates given table (table is represented as list of lists of strings) according to other table (some kind of merging)... This method takes following arguments: t1 - table we would like to update t2 - table we would like to take data from keyColumns - list of key indexes e.g.
4
1844
by: LyzH | last post by:
Someone else had a question on how to emulate a mouse click. I tried posting in that thread but I have something of a twist on this problem and I'm really in trouble here! If I don't get help soon, I'm going to fail this class and the class is already dragging down my GPA. I'm taking an introductory visual basic class with an advanced visual basic book and assignments (the department dropped the prerequisite and the class needs one....
2
1665
by: sara | last post by:
I use Allen Browne's Audit Trail code in everything I do and I love it. Recently, I've run into a problem I can't figure out. I have a database with about 35 lookup tables. I am creating an "Admin" screen to allow the head social worker to maintain items in the list. (This is a volunteer project for a non-profit that is trying to help elders "age successfully" in their own homes, and I'm trying to help them do some tracking for...
13
3253
JodiPhillips
by: JodiPhillips | last post by:
G'day, I have a silly and simple problem that I need some guidance with. Due to the way our network is set up, I am unable to use the group permissions for Access and have had to implement log in procedures via a log in table within the database. This works fine. I have now expanded this table to include further data about the authorised user – Power User, Team Leader, & Facilitator. Depending on the user’s status as to which one of...
0
9480
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
10329
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
10152
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...
0
9950
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
5381
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...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.