SoftoRooM LifeRooM Whois RSS GZip WAP Поиск Правила Помощь Disclaimer
Твой софтовый форумТвой софтовый форумТвой софтовый форумТвой софтовый форум

Здравствуйте Гость ( Вход | Регистрация )

CSS Таблицы!


 
post 26.03.2007 - 13:09
Отправлено #1
Stasyn



Unregistered


Профиль












Кто нибудь знает как избавиться от границ таблицы совсем. То есть физическая граница между ячейками должна быть равна 0px?
Go to the top of the pageGo to the end of the page
+Quote Post

 
Reply to this topicStart new topicStart Poll
Ответов(1 - 7)
 
post 26.03.2007 - 14:22
Отправлено #2
walet



Семнадцатилетний капитан
[SoftoRooMTeaM] Group Icon

Профиль
Группа: Модераторы
Сообщений: 1.203
Регистрация: 26.07.2006
Из: Анапа
Пользователь №: 20


Респектов: 241
-----XX---




border="0" (html)
border: 0; (css)
User is online!Profile CardPM
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 26.03.2007 - 15:08
Отправлено #3
Stasyn



Unregistered


Профиль












У меня таблица с одной ячейкой, а в ней картинка. Я делаю background-color, ну например red, чтобы было видно границу.
Что я толко не делал, чтобы не видет background. Минимум, с помощью: border-collapse:collapse, все же удалось добиться одного красного обрамляющего картинку пиксела, а снизу вообще пикселов 5. Что делать? Есть ли вообще решение этому?
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 26.03.2007 - 15:18
Отправлено #4
walet



Семнадцатилетний капитан
[SoftoRooMTeaM] Group Icon

Профиль
Группа: Модераторы
Сообщений: 1.203
Регистрация: 26.07.2006
Из: Анапа
Пользователь №: 20


Респектов: 241
-----XX---




тебе надо чтоб фон ячейки выполнял роль границы?
User is online!Profile CardPM
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 26.03.2007 - 15:44
Отправлено #5
Stasyn



Unregistered


Профиль












Я хочу, что бы граница картинки совпадала с границей таблицы?

CODE
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
 <title>заголовок страницы</title>
 <style type="text/css">
   table {background-color: red}
 </style>
</head>
<body>
 <table>
 <tr>
   <td>
     <div>
       <img src="../picts/classits.png" alt="Clses" style="width: 317px; height:100px"/>
     </div>
   </td>
 </tr>
</table>
</body>
</html>
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 26.03.2007 - 16:10
Отправлено #6
walet



Семнадцатилетний капитан
[SoftoRooMTeaM] Group Icon

Профиль
Группа: Модераторы
Сообщений: 1.203
Регистрация: 26.07.2006
Из: Анапа
Пользователь №: 20


Респектов: 241
-----XX---




table {бла-бла-бла} - убирай

<table> - замени на:

<table border="0" width="317px" height="100px">
User is online!Profile CardPM
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 27.03.2007 - 7:16
Отправлено #7
Stasyn



Unregistered


Профиль












Спасибо...
Go to the top of the pageGo to the end of the page
+Quote Post

 
post 31.03.2007 - 12:14
Отправлено #8
Maximlian



Unregistered


Профиль












Можешь еще добавить
CODE
cellspacing="0" cellpadding="0"

чтобы картинка полностью прилегала к границам таблицы.
Go to the top of the pageGo to the end of the page
+Quote Post


Reply to this topicTopic OptionsStart new topic
 


Debug Information

FORM and GET Input
showtopic = 29074
request_method = get
_low_act =
act = st
t = 29074
f = 23
IP_ADDRESS = 38.103.63.17
last_activity = 1215577149
last_visit = 1215577149
skinid = 0
selectedpids =
selectedpidcount = 0

SKIN & TASK Info
_css = html { overflow-x: auto; } body { background: #F5F5F5 url(style_images/<#IMG_DIR#>/back.gif); color: #10264E...
_wrapper = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"...
_macro = a:111:{s:7:"a_apoll";a:6:{s:8:"macro_id";s:3:"218";s:11:"macro_value";s:7:"A_APOLL";s:13:"macro_replace";s:79:"<img src=...
_skincacheid = 7
_csscacheid = 7
_imagedir = 1
_emodir = default
_setid = 7
_setname = Vizion Pro x (Импорт)
_usecsscache = 0
Next task = Сегодня, 7:22
Time now = Сегодня, 7:22
Timestamp Now = 1215577149

Loaded PHP Templates
skin_global, skin_topic

Queries Used
SET CHARACTER SET cp1251
SELECT * FROM ibf_topics WHERE tid=29074
SELECT * FROM ibf_cache_store WHERE cs_key IN ( 'attachtypes','bbcode', 'multimod','ranks','profilefields','reputation_ranks','calendar','birthdays','banfilters', 'portal_cache', 'bbcode', 'settings', 'group_cache', 'systemvars', 'skin_id_cache', 'forum_cache', 'moderators', 'stats', 'languages' )
DELETE FROM ibf_sessions WHERE ip_address='38.103.63.17'
SELECT * FROM ibf_skin_sets WHERE set_skin_set_id=7
SELECT pid FROM ibf_posts WHERE topic_id=29074 and queued=0 ORDER BY pid LIMIT 0,10
SELECT p.*, m.id,m.name,m.mgroup,m.email,m.joined,m.posts, m.last_visit, m.last_activity,m.login_anonymous,m.title,m.hide_email, m.warn_level, m.warn_lastwarn, m.job, m.rep, m.rep_all, m.allow_anon, m.allow_rep, me.msnname,me.aim_name,me.icq_number,me.signature, me.website,me.yahoo,me.location, me.avatar_location, me.avatar_type, me.avatar_size FROM ibf_posts p LEFT JOIN ibf_members m ON (p.author_id=m.id) LEFT JOIN ibf_member_extra me ON (me.id=m.id) WHERE p.pid IN(166956,166971,166985,166989,166994,166999,167117,168119) ORDER BY pid asc
SHUTDOWN: INSERT INTO ibf_sessions (id,member_name,member_id,member_group,in_forum,in_topic,login_type,running_time,location,ip_address,browser,in_error) VALUES('b40962c0731fe36fef2726bd0d332f5a','',0,2,23,29074,0,1215577149,'st,,','38.103.63.17','CCBot/1.0 (+http://www.commoncrawl.org/bot.html)',0)

SHUTDOWN: UPDATE LOW_PRIORITY ibf_topics SET views=views+1 WHERE tid=29074


  Яндекс цитирование   Rambler's Top100
LITE - версия | WAP - версия