TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
erum mirza
NA
428
0
unable to show full width div or table
Aug 20 2019 1:06 AM
i have below code ,but its not showing full width table on screen. it shows space out side div/table any help
<html>
<head>
<title></title>
<script type=
"text/javascript"
src=
"http://code.jquery.com/jquery.min.js"
></script>
<script type=
"text/javascript"
src=
"http://code.jquery.com/ui/1.9.2/jquery-ui.js"
></script>
<script src=
"print.min.js"
></script>
<link href=
"print.min.css"
rel=
"stylesheet"
/>
<style>
table {
table-layout
:
fixed
; }
table tr th {
font-size
:
13px
;
/*padding:0rem;*/
}
table tr td {
font-size
:
10px
;
word-wrap:break-word;
/*padding:0rem;
margin:0rem;*/
}
#printJ
S-form {
border-collapse
:
collapse
;
border-spacing
:
0
rem;
width
:
100%
;
padding
:
0
;
margin
:
0
;
table-layout
:
fixed
;
overflow-y:
scroll
;
overflow-x:
hidden
;
}
</style>
<style>
table tr th {
font-size
:
13px
;
/*padding:0rem;*/
}
table tr td {
font-size
:
11px
;
/*padding:0rem;
margin:0rem;*/
}
#printJ
S-form {
border-collapse
:
collapse
;
border-spacing
:
0
rem;
width
:
100%
;
padding
:
0
;
margin
:
0
;
table-layout
:
fixed
;
overflow-y:
scroll
;
overflow-x:
hidden
;
}
</style>
</head>
<body>
<form id=
"form1"
>
<div class=
"row"
>
<div class=
"table table-responsive"
style=
"width:100%;border-color:red;border:1px solid red"
>
<div class=
"table"
style=
"width:100%;border:1px solid green;"
class=
"table-responsive"
>
<!--Table-->
<table style=
"width:100%;border-color:red;border:1px solid blue"
><tr><td>dsa</td></tr></table>
<!--Table-->
</div>
</div>
</div>
</form>
</body>
</html>
Reply
Answers (
2
)
How to make inline Listbox and button inside a div
different colour