|
Hi by defining your style like that mean that all the td and tr will have that styling you have specified.
You can narrow that down to something like:
<style type="text/css">
.contentTable td
{
height:30px;
padding-right: 10px;
}
.contentTable tr
{
border-bottom: 1px solid #C0C0C0;
}
</style>
The .contentTable defines a css class which you can now apply to a table in your content place holder like so:
<table class="contentTable">
<tr>
<td>The data</td>
</tr>
</table>
Hope that helps
|
|
|
|
|
Thanks.
It works correctly.
|
|
|
|
|
|
Hi
What do you mean Mr.Inanloo?!!!
Where do you work now?Is it OK?
|
|
|
|
|
سلام
چه خبر ما که داریم می ریم سربازی
|
|
|
|
|
|
apadana_1989@yahoo.com
ali.inanloo.1989@gmail.com
|
|
|
|
|
I have just spent the entire day (plus a couple of hours yesterday) trying to figure out why, after I implemented a menu system with dropdown in CSS (replacing a set of <tables> etc), most pages on the web site worked in IE9, but a few didn't, while everything worked every time in Chrome.
The pages are generated from ASP using VB, but the problem turned out to depend simply on whether the DOCTYPE directive was output as the first line or whether there was anything else (or it was missing).
Now, I always though that the DOCTYPE only affected the actual HTML, but it seems that IE also uses it to switch CSS compatibility as described here.
This also mentioned that a lot of 'workarounds' for IE could probably be dispensed with if people simply specified (using DOCTYPE) what standard of HTML/CSS they are using and stopped using 'Quirks Mode'. As this article mentions, a lot of people probably don't realise that IE's strange behaviour in many areas is simply try to provide backward compatibility because you haven't told it not to!
As mentioned, Chrome doesn't care! Presumably it's 'Quirks Mode' corresponds to a standards compliant set!
[PS: Just felt I needed to tell someone. ]
[PPS: this started as a post to ask how to fix the problem; while trying to write a mininal test case, I 'discovered' that the DOCTYPE directive controls CSS behaviour as well!]
|
|
|
|
|
As I found out there are a heap of cases (maybe even a majority?) where CSS2 properties are supported by IE8 only if a !DOCTYPE is present. The other browsers seem to have done a better job of shedding their historical baggage (or maybe they hadn't accumulated as much in the first place ).
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
The *REALLY* frustrating (mis-)feature is that IE8 seems to ignore the "Derek
-- [Please select comment...]
|
|
|
|
|
I was to experiment with my slowly developing skills in J2EE programming .. so far only with JSP, hibernate and a little struts. But soon i will want to show real applications to people and exposing my home systems to the web via dynDNS is not an option.
i have found free/cheap LAMP sites .. but i really need a glassfish or tomcat java container server
anyone know anyone that can point me in a direction ?
|
|
|
|
|
Your question's not completely clear.
Are you asking where you can download Tomcat or Glassfish? Or are you asking if there are any websites that provide a free hosting service to run J2EE apps?
|
|
|
|
|
i work in project data from our site to customers
but i need to do something
i don't wan't that data to be send as regaul string
i want it to apperat inside table
i send customers offer price
so i want to be easy to read
some thing like that
Serial ProductName Quantity Price
i want my data to dir in that structure in email sent to customers
md_refay
|
|
|
|
|
And your question is what exactly?
|
|
|
|
|
Don't post your questions in multiple sections. Please wait for the responses because weekend too, many people started to enjoying that.
Already you have posted your question in Q/A section[^]
thatraja
My Tip/Tricks My Dad had a Heart Attack on this day so don't...
All these are my opinions. Different people. different way of thinking. I am no one to judge others - Chandru
|
|
|
|
|
i think u can use grid view for create table and mail that page to your recipient
|
|
|
|
|
You can use <table>
Or, better still <div>
<div> is better because there is more manipulation available.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Any one knows of a Free alternative to Urchin 6 which is not js based and is able to process log files like Urchin?
Thanks
|
|
|
|
|
Hi folks,
Let's say I need to display 1000 products in one single page on a table with 2 columns: Product Image and Product Name.
Let's assume, I only have 2 product images, the first image will be displayed on odd-numbered rows and the second image on even rows as shown below.
<table>
<tr>
<td><img src="odd.jpg"></td>
<td>One</td>
</tr>
<tr>
<td><img src="even.jpg"></td>
<td>Two</td>
</tr>
<tr>
<td><img src="odd.jpg"></td>
<td>Three</td>
</tr>
<tr>
<td><img src="even.jpg"></td>
<td>Four</td>
</tr>
...
</table>
I assume the web browser will request the web server to send "odd.jpg" and "even.jpg" 500 times each (1000 total).
Is this assumption correct?
Or, are web browsers optimized by default to request the same image once and apply it across the page
as needed?
Your support is appreciated.
Thanks,
...Alex
|
|
|
|
|
neualex wrote: Is this assumption correct?
No. Web browsers (even the infamous you-know-what) are smarter than that. A quick snap with Wireshark will show you.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
No, as has been said, the browser will only request the same image once. However, it can a only use some many active connections to the same domain so if you have that many images you could improve performance by using a few subdomains to load the images from.
This will load faster
<img src='doman1/image1.jpg'/>
<img src='doman1/image2.jpg'/>
<img src='doman2/image3.jpg'/>
<img src='doman2/image4.jpg'/>
<img src='doman3/image5.jpg'/>
<img src='doman3/image6.jpg'/>
<img src='doman4/image7.jpg'/>
<img src='doman4/image8.jpg />
than this
<img src='doman1/image1.jpg'/>
<img src='doman1/image2.jpg'/>
<img src='doman1/image3.jpg'/>
<img src='doman1/image4.jpg'/>
<img src='doman1/image5.jpg'/>
<img src='doman1/image6.jpg'/>
<img src='doman1/image7.jpg'/>
<img src='doman1/image8.jpg'/>
And of course if you want to optimize even more you can use a table-less layout
I know the language. I've read a book. - _Madmatt
modified on Friday, August 12, 2011 10:14 AM
|
|
|
|
|
Keep in mind this is only partly true. Currently browsers are supporting more then 2 parallel connections, see table below.
Firefox 2: 2
Firefox 3: 6
Opera 9.26: 4
Opera 9.5 beta: 4
Safari 3.0.4 Mac/Windows: 4
IE 7: 2
IE 8: 6
|
|
|
|
|
Yes, they keep updating. How many does IE 9 support?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I have no idea why your message was 1-voted. I compensated.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Thanks
John Simmons / outlaw programmer wrote: I have no idea why your message was 1-voted
Typical CP pettiness of course.
No comment
|
|
|
|