Hi,
I want to use style on the grids of table.
Currently it use default style of the html table, in which the grid size
appeared very thick.
How can I change the "thick" style of the default table to "slim"?
Thanks
Sam 1 2585
sam <sa*****@authte c.com> wrote: I want to use style on the grids of table.
Then your question might belong to c.i.w.a.stylesh eets rather than here.
But please explain what you mean by "the grids" here.
Currently it use default style of the html table, in which the grid size appeared very thick.
I suppose "grid" refers here to borders around table cells. By default,
common browsers draw _no_ borders, so you must have done something to
create some borders. As usual, posting the URL would make it possible to
help better and faster.
If you use a border attribute in <table> with a positive value, say
border="5", then there's that wide (in pixels) a border around the table as
a whole and some borders around the cells as well. (The latter is actually
caused by the fact that nonzero border value implies rules="all".)
The properties of the borders around cells depend on the browser and cannot
be suggested in HTML. They are typically narrow (one pixel) and grey.
You can suggest their color, width, and type in CSS, e.g.
<style type="text/css"> table, th, td { border: red 2px solid; } </style>
How can I change the "thick" style of the default table to "slim"?
So I don't really see what you mean by "thick" here, since the typical
browser default is as thin as you can get. Maybe you mean the _spacing_
between the cell borders? That's typically a few pixels by default and can
be affected in HTML using a cellspacing attribute in the <table> tag.
If you use <table cellspacing="0" >, the spacing vanishes and the borders
are joined (CSS equivalent: border-collapse: collapse), so that if you have
set e.g. the border width to 2px (using the CSS code above), there will be
a 2px (not 4px) border between cells.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Federico Moschini [328594] |
last post by:
I have to make difference between2 data from a table in SQL.
The page is made with Frontpage, and it extracts QtaGiaCons and Quantita
from table "oclrighe".
I have to make Quantita - QtaGiaCons to obtain QtaInev
(quantity that I have to ship because I have partially shipped)
I wait for your suggestion. Thank you.
|
by: jaydog |
last post by:
Hello...
I'm new to XSL, and I've written a XSLT file that converts a XML file
to HTML format. When viewed in a browser, it appears exactly as I
would like. However, if I want to look at the HTML as text, which I
do, then I have trouble because the XSLT processor (SAXON) outputs
everything as one continuous line.
How can I make the HTML output from SAXON readable? Is there a
command in the XSLT language that forces line breaks? ...
|
by: zwylle |
last post by:
Hi all,
to avoid a nervous breakdown I finally decided to seek help :D
I have a table defined with plain color background and in some cells I
show pictures to frame my site.
The problem I have occurs for one special cell.
The background of this cell is as you can see an image. A text should
be displayed on this image.
I don't want the text to be bigger than the picture.
|
by: ajay |
last post by:
I have following code for a slide menu but i twiked it to work for a
single level menu. Open it in a Browser to get a clear picture.
I have 2 Qs
1) How to make first entry as non-link. i.e i want to make first text
as Table Heading/menu category. For examle in the given menu i want to
make a heading as "Comp. Languages" which won't be a link.
2) The position of this menu is absolute to the page. I want to make
it absolute to the Table...
|
by: Tim Cartwright |
last post by:
I am trying to figure out how to change the gridview caption style, but I
can not figure out how. I added
table caption {
background-color: #5D7B9D;
color: White;
font-size: 16pt;
}
to my CSS, yet when the page renders, the grids style take precendence, as
| |
by: Miguel Dias Moura |
last post by:
Hello,
i have 5 panels in an ASP.net / VB page.
The panel 1 is visible the other 4 are NOT visible.
I also have 5 images: image 1, image 2, ..., image5.
When i click one of the images, image N, the panel N becomes visible and
all the other invisible.
|
by: scottyman |
last post by:
I can't make this script work properly. I've gone as far as I can with
it and the rest is out of my ability. I can do some html editing but
I'm lost in the Java world. The script at the bottom of the html page
controls the form fields that are required. It doesn't function like
it's supposed to and I can leave all the fields blank and it still
submits the form. Also I can't get it to transfer the file in the
upload section. The file name...
|
by: ashkaan57 |
last post by:
Hi,
I am working on an asp.net application that has a grid. When rendered,
grids are translated into tables. I am having some problems applying
styles to the this table. When I do a "View Source", this is what I
see:
<table cellspacing="0" cellpadding="3" border="0"
id="ctl00_MainContent_SystemsGV" style="font-family:Arial;font-size:
9pt;width:100%;border-collapse:collapse;">
<tr class="gvHeader">
|
by: Rick |
last post by:
VS 2005
I' m setting up a parent/child datagridviews in a form.
I am doing a lot of this by hand coding in order to get the feel of things.
I want a change in the parent table to trigger a change in the child.
Where is the best place (if I cannot set it up to be automatic through
relationships) to catch the change in the parent to refetch the child rows?
|
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,...
|
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...
| |
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,...
|
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...
|
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 project—planning, coding, testing, and deployment—without 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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |