473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Heavyweight LI with CSS?

I'm trying to fight the urge to solve a layout problem with tables
instead of CSS, and I need help.

I'd like to put together a list of publications for my webpage,
complete with a screenshot from the work and maybe a few links.
Something like:

--------------------------------------------------
| ---------- |
| | | Blah Blah Blah Blah |
| | | In the proceedings of foo |
| | | |
| | | project web page bibtex |
| ---------- |
--------------------------------------------------

(this looks crappy thanks to the variable-width font my browser
uses...)

It would be pretty neat if there was some way to stuff this into an LI
class, but my CSS ability is pretty poor. Can someone give me a push
in the right direction?

Thanks,

Jason

Aug 11 '07 #1
3 1723
Scripsit jasonsewall:
I'm trying to fight the urge to solve a layout problem with tables
instead of CSS, and I need help.
Many layout problems are best solved using a simple table these days. What
matters is the flexibility of the design (no px, please, and things like
that), not the tools as such.
I'd like to put together a list of publications for my webpage,
complete with a screenshot from the work and maybe a few links.
Then do it. Set up a simple page that has the _content_ and _logical
structure_, and post the URL. Then we can discuss its styling if needed.
Something like:

--------------------------------------------------
>---------- |
>> | Blah Blah Blah Blah |
| In the proceedings of foo |
| |
| project web page bibtex |
---------- |
--------------------------------------------------

(this looks crappy thanks to the variable-width font my browser
uses...)
It indeed does, and a monospace font does not help. You haven't described
the structure _or_ the desired layout in an understandable manner.
It would be pretty neat if there was some way to stuff this into an LI
class, but my CSS ability is pretty poor.
If your CSS ability is poor, start studying the basics of CSS. There's
little point in trying to struggle with complex layout issues first.

You haven't told what "LI" means. In WWW authoring, it most often means the
LI element in HTML markup. You haven't told what the word "heavyweight"
means in this context - a word that you use in the Subject line but not in
the text.

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

Aug 11 '07 #2
jasonsewall meinte:
I'm trying to fight the urge to solve a layout problem with tables
instead of CSS, and I need help.

I'd like to put together a list of publications for my webpage,
complete with a screenshot from the work and maybe a few links.
Something like:

--------------------------------------------------
| ---------- |
| | | Blah Blah Blah Blah |
| | | In the proceedings of foo |
| | | |
| | | project web page bibtex |
| ---------- |
--------------------------------------------------

(this looks crappy thanks to the variable-width font my browser
uses...)

It would be pretty neat if there was some way to stuff this into an LI
class, but my CSS ability is pretty poor.
What do you mean by "LI class"?
Can someone give me a push
in the right direction?
Place a p with proper left margin (i.e. width of image) in the LIs. Then
float the image left and that's it.

Markup:
<li>
<img ...>
<p>...</p>
</li>

Gregor
--
http://www.gregorkofler.at ::: Landschafts- und Reisefotografie
http://www.licht-blick.at ::: Forum für Multivisionsvorträge
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Aug 11 '07 #3
In article
<11*********************@i13g2000prf.googlegroups. com>,
jasonsewall <ja*********@gmail.comwrote:
I'm trying to fight the urge to solve a layout problem with tables
instead of CSS, and I need help.

I'd like to put together a list of publications for my webpage,
complete with a screenshot from the work and maybe a few links.
Something like:
Well, it is hard to know what might suit you. Maybe you can get
some ideas from these pages that have lists of publications?

<http://www.sn2.com.au/reports.html>

<http://ihpst.arts.unsw.edu.au/publications.html>

Just keep it simple at first and you won't go too wrong.

--
dorayme
Aug 12 '07 #4

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

Similar topics

0
by: Minti | last post by:
I have read at quite a few places that Heavyweight components tend to be resource hungry, the only explanation that I came across was that the native components tend to be resource hungry, I just...
4
by: Evan Dekker | last post by:
hi all im not why this code doesn't work: ///////// import java.applet.*; import java.awt.*; public class TestApplet extends Applet { public void init() {
6
by: Paul Rubin | last post by:
Is there an HTML DOM parser available for Python? Preferably one that does a reasonable job with the crappy HTML out there on real web pages, that doesn't get upset about unterminated tables and...
3
by: Simon Foster | last post by:
Anyone have any experience or pointers to how to go about creating a parser lexer for assemble in Python. I was thinking of using PLY but wonder whether it's too heavyweight for what I want. ...
198
by: Sridhar R | last post by:
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job...
2
by: Jeff Roughgarden | last post by:
Does anyone know the maximum number of CPU's that any version of SQL 7 (i.e. Std or Enterprise) can use on any version of Win 2K (i.e. Server, Adv Server, or DataCenter)? We are constrained by...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
0
by: castironpi | last post by:
Does anyone want to talk about a Rope implementation in Python? It doesn't get faster than the native strings until about 2 megs. P.S. Didn't your momma ever tell you not to talk on newsgroups?
23
by: tonytech08 | last post by:
What I like about the C++ object model: that the data portion of the class IS the object (dereferencing an object gets you the data of a POD object). What I don't like about the C++ object...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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...

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.